How to turn off a proxy

  • Thread starter Thread starter melton9
  • Start date Start date
M

melton9

I've got a program that runs through a proxy to a web service and would
like to turn off the proxy @ some point. I'm not really sure how to do
it.

b.Proxy = "" obvioulsy doesn't work
I can't really think of a way to turn it off. Any help?
 
I've tried System.Net.WebProxy.GetDefaultProxy() but this is
obsolete in vs2005. Surely theres some way to get the proxy back to
normal settings?
 
Back
Top