Consider accessing a webpage through a proxy server:
WebRequest request = WebRequest.Create("http://somepage.com");
WebProxy proxy = new WebProxy(proxyHost, proxyPort);
proxy.Credentials = new NetworkCredential(proxyUsername,
proxyPassword);
request.Proxy = proxy;
Now suppose the *proxy server* authenticates using NTLM (somepage.com
does NOT require any authentication its just a webpage). How does one
tell the WebProxy object to use NTLM?
I have tried the following not expecting much and it didnt do much:
proxy.Credentials = new
NetworkCredential(proxyUsername,proxyPassword).Get Credential(proxyURI,
"NTLM");
Regards,
--
Wal
http://www.vooose.com
*** Sent via Developersdex http://www.developersdex.com ***