Ejemplo n.º 1
0
 internal bool HookConnections(WinINETProxyInfo oNewInfo)
 {
     if (CONFIG.bIsViewOnly)
     {
         return false;
     }
     bool flag = false;
     foreach (WinINETConnectoid connectoid in this._oConnectoids.Values)
     {
         if ((CONFIG.bHookAllConnections || (connectoid.sConnectionName == CONFIG.sHookConnectionNamed)) && oNewInfo.SetToWinINET(connectoid.sConnectionName))
         {
             flag = true;
             connectoid.bIsHooked = true;
         }
     }
     return flag;
 }
Ejemplo n.º 2
0
        internal bool HookConnections(WinINETProxyInfo oNewInfo)
        {
            if (CONFIG.bIsViewOnly)
            {
                return(false);
            }
            bool result = false;

            foreach (WinINETConnectoid current in this._oConnectoids.Values)
            {
                if ((CONFIG.bHookAllConnections || current.sConnectionName == CONFIG.sHookConnectionNamed) && oNewInfo.SetToWinINET(current.sConnectionName))
                {
                    result            = true;
                    current.bIsHooked = true;
                }
            }
            return(result);
        }
Ejemplo n.º 3
0
        internal bool HookConnections(WinINETProxyInfo oNewInfo)
        {
            if (CONFIG.bIsViewOnly)
            {
                return(false);
            }
            bool flag = false;

            foreach (WinINETConnectoid connectoid in this._oConnectoids.Values)
            {
                if ((CONFIG.bHookAllConnections || (connectoid.sConnectionName == CONFIG.sHookConnectionNamed)) && oNewInfo.SetToWinINET(connectoid.sConnectionName))
                {
                    flag = true;
                    connectoid.bIsHooked = true;
                }
            }
            return(flag);
        }