title: Generating AntiForgeryToken in WebForms
body: <p>I have a .NET Webforms site thanks needs to post to my MVC Application which currently sits inside the Webform site as a separate application.</p>
  
  <p>The Webform application need to POST some sensitive values to the MVC Application.</p>
  
  <p>Is there a way to generate a AntiForgeryToken() in my WebForms Application so it can be passed with the form post.</p>
  
  <p>Otherwise does anyone know of any other custom anti forgery code that will allow me to do something similar to the MVC's AntiForgeryValidation.</p>