Does anybody know best aproach for work with web forms(open/fill/submit) ?
For example there is an page:
http://vkontakte.ru/login.php?app=111&layout=popup&type=browser
How to open it from C#, fill email and password and send to server.
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.
I would use Fiddler to monitor what is sent in the POST data when you submit the page. (Also, it’s better to give example sites with English text as most people on SO don’t read Cyrillic)
Then I would use HttpWebRequest and perform the same POST from code. Example of doing a POST can be found at http://www.netomatix.com/httppostdata.aspx.