Read Webpage that first requires to put in User/Password
-
I am writing one simple C# application; which is used to read contents of web page. While reading from the URL which first requires to log in. Is there anyway that i can set user and password, and can read data from this page. Thanks, Perry
-
I am writing one simple C# application; which is used to read contents of web page. While reading from the URL which first requires to log in. Is there anyway that i can set user and password, and can read data from this page. Thanks, Perry
Which class are you using to read webpages? If it is HttpWebRequest, then have a look at Credentials property.
Giorgi Dalakishvili #region signature my articles My blog[^] #endregion
-
Which class are you using to read webpages? If it is HttpWebRequest, then have a look at Credentials property.
Giorgi Dalakishvili #region signature my articles My blog[^] #endregion
I tried setting Credentials with my user and password :( .. still it reads login page ...
-
I tried setting Credentials with my user and password :( .. still it reads login page ...
I am not sure but try setting PreAuthenticate property to true.
Giorgi Dalakishvili #region signature my articles My blog[^] #endregion
-
I am not sure but try setting PreAuthenticate property to true.
Giorgi Dalakishvili #region signature my articles My blog[^] #endregion
No success with this too :( ...