예제 #1
0
        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;
        }
예제 #2
0
 public static bool removeFiddlerGeneratedCerts()
 {
     return(CertMaker.removeFiddlerGeneratedCerts(true));
 }