我無法在IE選項中使用代理自動配置(PAC)按預期方式使用.Net WebRequest進行工作。 根據這篇文章: Proxy Detection Take the Burden Off Users with Automatic Configuration in .NET 系統代理應該默認與每個WebRequest的設置。 那是的proxy.js PAC文件的樣子: function FindPr
這可能嗎? 目前我想每個域得到系統指定給它什麼代理,這種方式: Uri website = new Uri("http://google.com");
System.Net.IWebProxy defaultproxy = System.Net.WebRequest.GetSystemWebProxy();
Uri proxy = defaultproxy.GetProxy(website);