Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Use Proxy Servers in VB .NET

Status
Not open for further replies.

RKHohmII

Programmer
Mar 18, 2003
4
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top