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 some specific processes or user/session/system wide.

General methods and properties.

IHTTPAnalyzerStandAlone is inherited from IHTTPAnalyzer.

method
AttachAllSessions
method
AttachCurrentSession
method
AttachNewProcess
method
AttachProcessByID
method
AttachProcessByName
method
DeleteAllCache
method
DeleteAllCookies
method
DeleteCacheForRecordedURLs
method
DeleteCookiesForRecordedURLs
method
DetachProcessByID
method
DetachProcessByName
prop get set
Visible


Examples
C# example:
IHTTPAnalyzerStandAlone httpAnalyzer = new HTTPAnalyzerStandAloneClass();
httpAnalyzer.Visible = true;
httpAnalyzer.AttachProcessByID(Process.GetCurrentProcess().Id);
httpAnalyzer.AttachProcessByID('
IExplore.exe');//attach multi processes                                                            

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.AttachProcessByName("'IExplore.exe");//attach to IE
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 IE Addon
IHTTPAnalyzerAddon (Firefox Addon)