private void UpdateSystemProxy()
 {
     if (_config.enabled)
     {
         SystemProxy.Enable();
     }
     else
     {
         SystemProxy.Disable();
     }
 }
 private void UpdateSystemProxy()
 {
     if (_config.enabled)
     {
         SystemProxy.Enable(_config.global);
         _systemProxyIsDirty = true;
     }
     else
     {
         // only switch it off if we have switched it on
         if (_systemProxyIsDirty)
         {
             SystemProxy.Disable();
             _systemProxyIsDirty = false;
         }
     }
 }