ValidateAntiForgeryTokenAttribute Class

Represents an attribute that is used to detect whether a server request has been tampered with.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method, AllowMultiple := False,  _
	Inherited := True)> _
Public NotInheritable Class ValidateAntiForgeryTokenAttribute _
	Inherits FilterAttribute _
	Implements IAuthorizationFilter
Dim instance As ValidateAntiForgeryTokenAttribute

For more information about using attributes, see Extending Metadata Using Attributes.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.