Beispiel #1
0
 private void stopProxy()
 {
     proxyStopLbl.CurrentStatus = StatusLabel.Status.Current;
     proxyServer.RestoreOriginalProxySettings();
     proxyServer.Stop();
     proxyStopLbl.CurrentStatus = StatusLabel.Status.Done;
     removeCertificates();
 }
Beispiel #2
0
 public void Stop()
 {
     _proxyServer.RestoreOriginalProxySettings();
     _proxyServer.BeforeRequest -= OnBeforeRequest;
     _proxyServer.Stop();
 }