[Article/Code]: Easy Proxy handling through the ProxyFactory and ProxyInfo classes

By Roy Osherove In .Net Original, Cool Articles

Markdown version

Historical article · Originally published November 4, 2003; technical details may be outdated.

I had to make The Regulator support Proxy servers, so I dug in to how the WebProxy class works, and with a little help from Darren, I managed to get it up and running. In the process, I wrote a little helper class that eases the configuration syntax against this API. Here it is:

Easy Proxy handling through the ProxyFactory and ProxyInfo classes

It can handle all the situations, starting from getting the default proxy settings up to providing the user/password login information setup. Hope it helps.

More in .Net Original

All posts in .Net Original