I want to login to a site like stackoverflow or codeproject from a server.
Is there any way to login to a site such as this using the WebClient class?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://code.google.com/p/stackexchange-api/
Update
HttpWebRequestand write the FORM data torequest.GetRequestStream()application/x-www-form-urlencodedrequest.GetResponse().Note that you got to keep all cookies which are specified in the response and copy them to all subsequent requests to keep being logged in.