Logging in to an https site using C#
<p>I'm trying to write a small program that logs in to the Verizon website and then checks how many minutes are left for the month. I need help figuring out how to login to the site using C#. I know I need to use webrequest to post the login information, but I'm not sure how to go about doing it. The site with the login form is <a href="https://login.verizonwireless.com/amserver/UI/Login" rel="nofollow">https://login.verizonwireless.com/amserver/UI/Login</a>, but I'm not sure what information I have to post to the site to login and how to do it. Below is what I found for the source of the website. If someone can help me figure out how to login from a C# program I would greatly appreciate it. Thank You for any help.</p>

<blockquote>
  <p>form method="post" autocomplete="off" 
  action="https://login.verizonwireless.com:443/amserver/UI/Login" name="loginForm" id="loginForm" onsubmit="return disableBut();"><br>
  input type="hidden" name="realm" value="vzw" /><br>
  input type="hidden" name="goto" value="" /><br>
  input type="hidden" name="gotoOnFail" value="" /><br>
  input type="hidden" name="gx_charset" value="UTF-8" /><br>
  input type="hidden" name="rememberUserNameCheckBoxExists" value="Y" /><br>
  h2 style="padding-left:0px;">Sign In to My Verizon<br>
  div class="clear10"> /div></p>
</blockquote>
