I have made an application using FiddlerCore dll file. with the help of Site : http://fiddlerbook.com/Fiddler/Core/
First of all, Download the software from above link then you will get 3 dlls from this software i. e.
1. BCMakeCert.dll
2. CertMaker.dll
3. FiddlerCore.dll
Add these dll by Reference.
Now add the following code at respective place
using Fiddler;
***************************************
Fiddler.FiddlerApplication.AfterSessionComplete += FiddlerApplication_AfterSessionComplete;
Fiddler.FiddlerApplication.Startup(8764,Fiddler.FiddlerCoreStartupFlags.Default);
****************************************
void FiddlerApplication_AfterSessionComplete(Fiddler.Session oSession)
{
Console.WriteLine(String.Format("REQ: {0}", oSession.url));
Console.WriteLine(oSession.GetResponseBodyAsString());
}
Thats it :) So Simple hmmm
First of all, Download the software from above link then you will get 3 dlls from this software i. e.
1. BCMakeCert.dll
2. CertMaker.dll
3. FiddlerCore.dll
Add these dll by Reference.
Now add the following code at respective place
using Fiddler;
***************************************
Fiddler.FiddlerApplication.AfterSessionComplete += FiddlerApplication_AfterSessionComplete;
Fiddler.FiddlerApplication.Startup(8764,Fiddler.FiddlerCoreStartupFlags.Default);
****************************************
void FiddlerApplication_AfterSessionComplete(Fiddler.Session oSession)
{
Console.WriteLine(String.Format("REQ: {0}", oSession.url));
Console.WriteLine(oSession.GetResponseBodyAsString());
}
Thats it :) So Simple hmmm
No comments:
Post a Comment