Exemplo n.º 1
0
 public bool Detach()
 {
     if (!this._bIsAttached)
     {
         return(true);
     }
     if (Browser.bIsViewOnly)
     {
         return(true);
     }
     _setDynamicRegistryKey(false);
     if (this.oAllConnectoids.UnhookAllConnections())
     {
         this._bIsAttached = false;
         SDVPApplication.OnSDVPDetach();
         this.WriteAutoProxyPACFile(false);
         return(true);
     }
     return(false);
 }