IHTTPAnalyzerStandalone
|
Top Previous Next |
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
|
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 } |
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 } |