I have a few .NET apps which use the HttpWebRequest. My gut says i can create a config or manifest file and set the proxy data in there and .NET will automatically load it. But i dont know if that exist and if my gut is wrong.
Is there a way to set the proxy data for my apps? Can i do the same for my one app that uses the ie browser control?
Do you need to use a different proxy? Or the system’s proxy? Note that
WebBrowserwill probably work differently since this is activex, but IIRCHttpWebRequestwill use the winhttp proxy by default. So all you need to do is configure winhttp!How to do this varies per OS; typically it is easiest to simply import the wininet settings from IE:
Vista/Win7:
XP (from memory, please double-check):
You can also set the proxy per-application (rather than system-wide) via the config file; see MSDN.