Question

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

Était-ce utile?

La solution

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

Autres conseils

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top