I am writing a VB .NET application that needs to access data on the internet (using HttpWebRequest). If I have the proxy server explicitly set in my Internet Options, then I can get out to the internet. However, if I am using my site's automatic configuration script, I don't get through the firewall. Why doesn't HttpWebRequest exploit the information in the Internet Options? I need to be flexible since I don't know how my customers' firewalls are configured, and I don't want to prescribe Internet Options to them.
I have been searching for .NET functionality to interrogate the explicit proxy returned from the script so that I can set the HttpWebRequest.Proxy property, but have come up empty. Is there something in .NET that will do this for me?
Thank you for any guidance you can provide.
Rick
I have been searching for .NET functionality to interrogate the explicit proxy returned from the script so that I can set the HttpWebRequest.Proxy property, but have come up empty. Is there something in .NET that will do this for me?
Thank you for any guidance you can provide.
Rick