Hello everybody
I would like change the internet explorer default connection proxy setting. How can I do this in .NET 2.0 Is there a possibillity to safe the current setting and restoring when my application close Thanks
Best Regards
Karsten
Hello everybody
I would like change the internet explorer default connection proxy setting. How can I do this in .NET 2.0 Is there a possibillity to safe the current setting and restoring when my application close Thanks
Best Regards
Karsten
change internet explorer proxy settins
Gerhard
Have you an URL with an example
Thanks
SufferTheFools
Steve Cook MSFT
Karsten
you could use the WInnet APIs to change the proxy settings if you wish
cydrakonis
cowanm
B. Gargle
kian_z20
By default .Net 2.0 web requests will read your IE proxy settings. If you want to override those settings you have a few options:
1. Set you proxy settings via an application configuration file as specified here:
http://msdn2.microsoft.com/kd3cf2ex(en-US,VS.80).aspx
2. Set the proxy per request, by using the Proxy property on the WebRequest object. You would have to persist your proxy settings somewhere to be accessible between runs of you app.
Note: .Net only reads the IE proxy settings, you cannot alter them from code. The only way to do that would be to hack the registry, which is not advisable.