Question : How do you automatically detect proxy settings for a VB.NET applciation using IWebProxy

I have an application that access several web services.  I provide for proxy server support by using IWebProxy.

I would like to allow the users to use a method similar to IE's "Automatically Detect Proxy Settings" so that they don't have to manually set the proxy settings (especially if they change this often)

Is there a way to add autoproxy to a .NET application

Answer : How do you automatically detect proxy settings for a VB.NET applciation using IWebProxy

you ca use the WebProxy.GetDefaultProxy  static Method to give the default proxy.

take a look at: http://msdn2.microsoft.com/en-us/library/system.net.webproxy.getdefaultproxy(vs.71).aspx

here an example using proxy: http://www.codeproject.com/vb/net/web_service_by_proxy.asp?df=100&forumid=16041&exp=0&select=581453

regards
Junges
Random Solutions  
 
programming4us programming4us