Loading .saz file from C# using fiddler.exe pops up license exception

260 views
Skip to first unread message

Kevin Kraus

unread,
Aug 21, 2015, 5:17:52 PM8/21/15
to Fiddler
Hello,

i'm trying to automate the reading of a .saz file and export out as a .webtest file.

when I run the Utilities.ReadSessionArchive(path, false) method I receive a popup that states I am not licensed.  see attached.

it mentioned looking in the Licensing section in the documentation, but that doesn't exist or I can't seem to find it.

I need to know how to set the licensing information prior to calling this read method to prove that the product is licensed.

thx

Kevin
fiddler exception.PNG

EricLaw

unread,
Aug 21, 2015, 5:26:28 PM8/21/15
to Fiddler
Loading Fiddler.exe as a reference into another .NET application is not supported and will break in many exotic ways (like this one).

You have a number of choices; you can:

1. Build a Fiddler extension, which means your C# code runs inside the Fiddler process
2. Use ExecAction.exe to automate Fiddler/FiddlerScript so that your code invokes your code running inside the Fiddler process
3. Build an application which hosts FiddlerCore, the .NET class library for Fiddler: http://www.telerik.com/fiddler/fiddlercore

Reply all
Reply to author
Forward
0 new messages