Export (0) Print
Expand All

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)

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

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

System.Object
  System.Attribute
    System.Web.Mvc.FilterAttribute
      System.Web.Mvc.ValidateAntiForgeryTokenAttribute

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

Community Additions

Show:
© 2015 Microsoft