There seem to be so many ways to create a WebProxy
/IWebProxy
and properties related to setting them. My question is: When I create a proxy, how do I actually use that proxy setting?
I can find options in WebRequest.DefaultWebProxy
, WebRequest.GetSystemWebProxy()
, WebRequest.Proxy
, etc. to create and assign new WebProxy
instances but this confuses me... Where would a program typically "grab" the specified proxy settings from?
Quick edit: I did notice that the HttpWebClientProtocol
class seemed promising, but again, I'm not 100% sure as my proxy knowledge (and networking in general) is extremely limited...