简体   繁体   English

Windows 8应用商店应用程序的HttpClient和代理

[英]HttpClient and proxy with Windows 8 Store application

We are creating a Windows Store application (WinRT) line of business application is to be installed on computers that are in a network that requires them use a proxy to connect to the internet. 我们正在创建Windows Store应用程序(WinRT)业务应用程序,该应用程序将安装在网络中要求它们使用代理连接到Internet的计算机上。 My assumption is that the HttpClient uses the proxy information set in IE. 我的假设是HttpClient使用IE中设置的代理信息。 Is this a true statement? 这是真实的说法吗?

Thanks, Scott 谢谢,斯科特

According to MSDN documentation HttpClientHandler.Proxy : 根据MSDN文档HttpClientHandler.Proxy

If no proxy is specified in a config file and the Proxy property is unspecified, the handler uses the proxy settings inherited from Internet Explorer on the local computer. 如果在配置文件中未指定代理,并且未指定Proxy属性,则处理程序将使用从本地计算机上的Internet Explorer继承的代理设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM