DetachProcessByName (IHTTPAnalyzerStandalone)
Top  Previous  Next

Syntax
blSuccess=object .DetachProcessByName(ProcessName as String )

Arguments
ProcessID A Long value which contains the ID of the Process to be attached to.

Return Type
A Boolean value. If the operation succeeds, returns will be true. If the operation fails, returns will be false.

Description
The DetachProcessByName method is used to find a process by its name and detach HTTPAnalyzer stand-alone to it . Anyway, HTTPAnalyzer stand-alone no longer capture and monitor HTTP/HTTPs traffic from the process.

Examples
JavaScript example:
var httpAnalyzer=new ActiveXObject("HTTPAnalyzerStd.HTTPAnalyzerStandAlone");
httpAnalyzer.AttachProcessByName
("cscript.exe");//attach to javascript process
httpAnalyzer.AttachProcessByName("IEXPLORE.exe");//attach to IE process
httpAnalyzer.Visible=false;//
httpAnalyzer.Start();

......
httpAnalyzer.Stop();