internal void CollectConnectoidAndGatewayInfo() { this.oAllConnectoids = new WinINETConnectoids(); this.piPrior = this.oAllConnectoids.GetDefaultConnectionGatewayInfo(); if (CONFIG.bForwardToGateway && ((this.piPrior.sPACScriptLocation != null) || this.piPrior.bAutoDetect)) { this.oAutoProxy = new WinHTTPAutoProxy(this.piPrior.bAutoDetect, this.piPrior.sPACScriptLocation); } else if (this.oAutoProxy != null) { this.oAutoProxy.Dispose(); this.oAutoProxy = null; } if (CONFIG.bForwardToGateway && this.piPrior.bUseManualProxies) { this._DetermineGatewayIPEndPoints(); if (string.IsNullOrEmpty(this.piPrior.sHostsThatBypass)) { this.oBypassList = null; } else { this.oBypassList = new ProxyBypassList(this.piPrior.sHostsThatBypass); if (!this.oBypassList.HasEntries) { this.oBypassList = null; } } } else { this._ipepFtpGateway = this._ipepHttpGateway = (IPEndPoint)(this._ipepHttpsGateway = null); this.oBypassList = null; } }
internal void CollectConnectoidAndGatewayInfo() { try { this.oAllConnectoids = new WinINETConnectoids(); this.RefreshUpstreamGatewayInformation(); } catch (Exception eX) { FiddlerApplication.ReportException(eX, "System Error"); } }
internal void CollectConnectoidAndGatewayInfo() { try { this.oAllConnectoids = new WinINETConnectoids(); this.RefreshUpstreamGatewayInformation(); } catch (Exception exception) { FiddlerApplication.ReportException(exception, "System Error"); } }