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; }
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); }
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); }