public void QuitFiddler() { if (null != oSecureEndpoint) { oSecureEndpoint.Dispose(); } while (FiddlerApplication.IsStarted()) { TestBase.LogEvent("Stopping Fiddler Proxy on port " + proxyPort); FiddlerApplication.Shutdown(); Common.Delay(500); } }
public static Proxy CreateProxyEndpoint(int iPort, bool bAllowRemote, X509Certificate2 certHTTPS) { Proxy proxy = new Proxy(false); if (certHTTPS != null) { proxy.AssignEndpointCertificate(certHTTPS); } if (proxy.Start(iPort, bAllowRemote)) { return(proxy); } proxy.Dispose(); return(null); }
public static Proxy CreateProxyEndpoint(int iPort, bool bAllowRemote, string sHTTPSHostname) { Proxy proxy = new Proxy(false); if (!string.IsNullOrEmpty(sHTTPSHostname)) { proxy.ActAsHTTPSEndpointForHostname(sHTTPSHostname); } if (proxy.Start(iPort, bAllowRemote)) { return(proxy); } proxy.Dispose(); return(null); }
public static Proxy CreateProxyEndpoint(int iPort, bool bAllowRemote, string sHTTPSHostname) { Proxy proxy = new Proxy(false); if (!string.IsNullOrEmpty(sHTTPSHostname)) { proxy.ActAsHTTPSEndpointForHostname(sHTTPSHostname); } if (proxy.Start(iPort, bAllowRemote)) { return proxy; } proxy.Dispose(); return null; }
public static Proxy CreateProxyEndpoint(int iPort, bool bAllowRemote, X509Certificate2 certHTTPS) { Proxy proxy = new Proxy(false); if (certHTTPS != null) { proxy.AssignEndpointCertificate(certHTTPS); } if (proxy.Start(iPort, bAllowRemote)) { return proxy; } proxy.Dispose(); return null; }