title: auto submit a form on an asp.net page
body: <p>I want to make an application (in .Net) that fills and submits a form (in an asp.net website). </p>
  
  <p>This applications should read the page, find the fields (inputs), extract name/id of the fields I want to fill it in and submit the page to the server.</p>
  
  <p><strong>I don't want an app that holds an webbrowser control and automate the navigation on it!</strong></p>
  
  <p>What I have: I have the part that download the html, I have the part that finds the fields and extract their names/ids. </p>
  
  <p>What I need: A way to submit the form to the server (<strong>POST</strong>, not GET).</p>
  
  <p>On the html of the page the submission is done by javascript, something like this:</p>
  
  <pre><code>javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("Button1", "", true, "", "", false, false))
  </code></pre>
  
  <p>The question is: how to submit in this case?</p>