J
J055
Hi
I'm using the following code to get a response froma server which uses IIS6
and Integrated Security. I don't understand where the credentials are stored
on the client, i.e. the Visual Studio web server. How do I clear them? What
are DefaultCredentials? The username and password I've been using to connect
to a remote server are not the client, i.e. XP logged on user account. I
don't know where the DefaultCredentials has picked them up from.
HttpWebRequest request =
(HttpWebRequest)WebRequest.Create("https://a.server.com/admin");
request.Credentials = CredentialCache.DefaultCredentials;
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
If someone provides me with a username and password to log on to their IIS6
machine using the Integrated Security how to I explicitly set the
credentials?
thanks
Andrew
I'm using the following code to get a response froma server which uses IIS6
and Integrated Security. I don't understand where the credentials are stored
on the client, i.e. the Visual Studio web server. How do I clear them? What
are DefaultCredentials? The username and password I've been using to connect
to a remote server are not the client, i.e. XP logged on user account. I
don't know where the DefaultCredentials has picked them up from.
HttpWebRequest request =
(HttpWebRequest)WebRequest.Create("https://a.server.com/admin");
request.Credentials = CredentialCache.DefaultCredentials;
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
If someone provides me with a username and password to log on to their IIS6
machine using the Integrated Security how to I explicitly set the
credentials?
thanks
Andrew