FiddlerCore: how to use system proxy right?
<p>I want to sniff some https traffic of a browser. My network settings use the proxy configuration "Use  automatic configuration script: '<a href="http://proxyconf-domain.net/" rel="nofollow">http://proxyconf-domain.net/</a>'"</p>

<p>Now my code looks like this:</p>

<pre><code>FiddlerApplication.AfterSessionComplete += FiddlerApplicationOnAfterSessionComplete;

FiddlerApplication.Startup(8888, FiddlerCoreStartupFlags.Default);

...

private void FiddlerApplicationOnAfterSessionComplete(Session oSession)
{
    if (oSession.LocalProcessID == 22228)
    {
        Console.WriteLine("Chrome Traffic");
    }
}
</code></pre>

<p><strong>Problem:</strong> After Startup my system proxy settings are lost so the browser cannot connect to internet and i have to reset them manually. But i want FiddlerCore to work like the Fiddler App.</p>

<p>The FiddlerCoreStartupFlags.Default has the RegisterAsSystemProxy flag. The Fiddler App has the same settings: 
<a href="http://i.stack.imgur.com/LxneT.png" rel="nofollow">FiddlerSettings</a>
But the Fiddler App is capturing the traffic and the browser keeps its proxy settings.</p>

<p>Do I have to read the system proxy and set it in my code for FiddlerCore or something else?</p>