c# website login with post method

Posted by druffmuff on Stack Overflow See other posts from Stack Overflow or by druffmuff
Published on 2010-05-09T22:08:40Z Indexed on 2010/05/09 22:18 UTC
Read the original article Hit count: 286

Filed under:
|
|
|

Hi,

How can I with c sharp log me in into a website by using the post method?

Any Ideas how to do this?

Here's the html code of the forumlar:

<form action="http://www.site.com/login.php" method="post" name="login" id="login">
<table border="0" cellpadding="2" cellspacing="0">
<tbody>
<tr><td><b>User:</b></td><td colspan=\"2\"><b>Passwort:</b></td></tr>
<tr>
<td><input class="inputbg" name="user" type="text"></td>
<td><input class="inputbg" name="password" type="password"></td>
<td><input type="submit" name="user_control" value="Eingabe" class="buttonbg" ></td>
</tr>
</tbody></table></form>

© Stack Overflow or respective owner

Related posts about c#

Related posts about website