I have .Net 3.5 WinForms application that require access to the Internet. But my company network uses dynamic proxy settings shown below. All my attempts to retrieve and use this setting got fail.
How to use this proxy in .net application?
Proxy Settings

有帮助吗?

解决方案

Please go through the following link: http://msdn.microsoft.com/en-us/magazine/cc300743.aspx

其他提示

But default every HttpWebRequest should automatically be filled out with this information. See C# Getting proxy settings from Internet Explorer

By default the .NET framework will use whatever proxy settings setup on the local machine. So what you asked should be done automatically. Check DefaultProxy setting in your config file .

http://msdn.microsoft.com/en-us/library/kd3cf2ex%28v=vs.90%29.aspx

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top