public static void DoDispose() { if (FiddlerApplication.isClosing && CertMaker.oCertProvider == null) { return; } CertMaker.EnsureReady(); if (FiddlerApplication.Prefs.GetBoolPref("fiddler.CertMaker.CleanupServerCertsOnExit", false)) { CertMaker.removeFiddlerGeneratedCerts(false); } IDisposable disposable = CertMaker.oCertProvider as IDisposable; if (disposable != null) { disposable.Dispose(); } CertMaker.oCertProvider = null; }
public static bool removeFiddlerGeneratedCerts() { return(CertMaker.removeFiddlerGeneratedCerts(true)); }