public void Stop() { if (stopped) { return; } stopped = true; if (_listener != null) { _listener.Stop(); } StopPlugins(); if (privoxyRunner != null) { privoxyRunner.Stop(); } if (_config.enabled) { SystemProxy.Update(_config, true, null); } Encryption.RNG.Close(); }
private void UpdateSystemProxy() { SystemProxy.Update(_config, false, _pacServer); }