gersh
gersh

Reputation: 2437

Can I start fiddler from C#?

I'm trying to build a C# application, which uses Fiddler. I saw in the documentation somewhere, that there is supposed to be a function Fiddler.Application.Start or something like that. However, I can't find it. I'd prefer not to write a fiddler extension, because I think it will be more powerful to integrate fiddler into my app. Does anyone know how to do this?

Upvotes: 3

Views: 3566

Answers (4)

EricLaw
EricLaw

Reputation: 57085

You're really asking about FiddlerCore, which is different than Fiddler. You cannot replicate FiddlerCore by simply wrapping Fiddler.exe.

If you want to automate Fiddler, simply launch it with Process.Start. You can send commands to the FiddlerScript engine using the ExecAction executable.

Incidentally, neither Fiddler nor FiddlerCore is a COM object.

Upvotes: 10

gersh
gersh

Reputation: 2437

"Please note: FiddlerCore is currently undergoing a limited, Microsoft-Internal alpha. At present, there is no timeline for a broader release." http://fiddler.wikidot.com/fiddlercore

So, it appears there is no way to get FiddlerCore unless you work for Microsoft.

Upvotes: 0

Chris Smith
Chris Smith

Reputation: 18712

Is this what you are looking for?

Upvotes: 1

Cheeso
Cheeso

Reputation: 192487

You can just do a System.Diagnostics.Process.Start() on the fiddler EXE, no?

Upvotes: 1

Related Questions