AttachProcessByName (IHTTPAnalyzerStandalone)
Top  Previous  Next

Syntax
object .AttachProcessByName(ProcessName as String )

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

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.Visible=false;//

httpAnalyzer.Start();

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