IHTTPAnalyzerStandalone
Top  Previous  Next

HTTPAnalyzer Stand-alone is out-process COM server. The IHTTPAnalyzerStandAlone object is used to control the HTTPAnalyzer Stand-alone. You can attach HTTPAnalyzerStandalone into a specific process or user/session/system wide.

General methods and properties.

IHTTPAnalyzerStandAlone is inherited from IHTTPAnalyzer.

method
AttachAllSessions
method
AttachCurrentSession
method
AttachNewProcess
method
AttachProcessByID
method
AttachProcessByName
prop get set
Visible


Examples
C# example:
IHTTPAnalyzerStandAlone httpAnalyzer = new HTTPAnalyzerStandAloneClass();
httpAnalyzer.Visible = true;
httpAnalyzer.AttachProcessByID(Process.GetCurrentProcess().Id);
httpAnalyzer.Start();
......
httpAnalyzer.Stop();

foreach (ILogEntry entry in httpAnalyzer.Log)
{
  // do something
}


Javascript example:
var httpAnalyzer=new ActiveXObject("HTTPAnalyzerStd.HTTPAnalyzerStandAlone");

httpAnalyzer.AttachProcessByName("cscript.exe"
);//attach to current process
httpAnalyzer.Visible=false;
httpAnalyzer.Start();
......
httpAnalyzer.Stop();

for (var index = 0
; index < httpAnalyzer.Log.Count; ++index )
{
var entry = httpAnalyzer.Log.Item(index);
//do something

}


See Also
IHTTPAnalyzer
IHTTPAnalyzerAddon