using IE credentials to log on with c#
- by james
Hi i am writing a HTML parser for helping with some job duties,
I can enter the site using IE explorer.
but using csharp code i get an error
i have tried using
client.Credentials = CredentialCache.DefaultNetworkCredentials;
client.Proxy.Credentials = CredentialCache.DefaultCredentials;
i don't get the requested page, but an error page.
if i can view page in explorer there must be a way to retrieve its html in C#
(note that same page in other browsers requires authintication - not in IE)
appreciate the help