How do i setup a global proxy setting that can be used within internet
explorer.
For example, i setup proxy, username and password etc. Then open IE and it
will connect OK.
I cannot do this - Currenly this is what i do :
WebProxy objProxy = new WebProxy( sProxy, iPort );
objProxy.BypassProxyOnLocal = true;
objProxy.Credentials = new NetworkCredential( sProxy_username,
sProxy_password, sProxy_domain );
objProxy.BypassProxyOnLocal = true;
GlobalProxySelection.Select = objProxy;
Please help
j
If you want to set the proxy parameters for the system, you do not use
the WebProxy class. Rather, you have to make a call to the InternetSetProxy
function in the wininet library through the P/Invoke layer. Specifically,
you want to use the INTERNET_OPTION_PROXY option.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com
"JoeB" <j...@sdfdklshj.com> wrote in message
news:e54LmNV6...@TK2MSFTNGP11.phx.gbl...
Joe
"Nicholas Paldino [.NET/C# MVP]" <m...@spam.guard.caspershouse.com> wrote in
message news:enl%23tSV6F...@TK2MSFTNGP14.phx.gbl...