public override void Configure() { SystemProxy.ProxyConfigurator pc = new SystemProxy.ProxyConfigurator(); string bypassList = null; if (bypassLocalAddresses.HasValue || exceptions != null) { bypassList = ""; if (exceptions != null) { bypassList += exceptions; } if (bypassLocalAddresses.HasValue && bypassLocalAddresses == true) { if (bypassList.Length > 0) { bypassList += ";"; } bypassList += "<local>"; } } pc.SetProxy(proxyAddress, bypassList); }
public override void Configure() { SystemProxy.ProxyConfigurator pc = new SystemProxy.ProxyConfigurator(); pc.SetProxyPac(pacFile); }
public override void Configure() { SystemProxy.ProxyConfigurator pc = new SystemProxy.ProxyConfigurator(); pc.ResetProxy(); }
public override void Configure() { SystemProxy.ProxyConfigurator pc = new SystemProxy.ProxyConfigurator(); pc.SetProxyPac(pacFile); }
public override void Configure() { SystemProxy.ProxyConfigurator pc = new SystemProxy.ProxyConfigurator(); pc.ResetProxy(); }
public override void Configure() { SystemProxy.ProxyConfigurator pc = new SystemProxy.ProxyConfigurator(); string bypassList = null; if (bypassLocalAddresses.HasValue || exceptions != null) { bypassList = ""; if (exceptions != null) { bypassList += exceptions; } if (bypassLocalAddresses.HasValue && bypassLocalAddresses == true) { if (bypassList.Length > 0) { bypassList += ";"; } bypassList += "<local>"; } } pc.SetProxy(proxyAddress, bypassList); }