AttachProcessByName (IHTTPAnalyzerStandalone)
Top  Previous  Next

Syntax
blSuccess=object .AttachProcessByName(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 AttachProcessByName method is used to find a process by its name and attach HTTPAnalyzer stand-alone to it . Anyway, HTTPAnalyzer stand-alone will 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();