AntiForgery.GetHtml Method

Include Protected Members
Include Inherited Members

Adds an authenticating token to a form to help protect against request forgery.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member GetHtml() Adds an authenticating token to a form to help protect against request forgery.
Public methodStatic member GetHtml(HttpContextBase, String, String, String) Obsolete. Adds an authenticating token to a form to help protect against request forgery and lets callers specify authentication details.

Top

See Also

Reference

AntiForgery Class

System.Web.Helpers Namespace