Represents an attribute that is used to prevent forgery of a request.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Thetype exposes the following members.
|AllowMultiple||Gets or sets a value that indicates whether more than one instance of the filter attribute can be specified. (Inherited from FilterAttribute.)|
|Order||Gets or sets the order in which the action filters are executed. (Inherited from FilterAttribute.)|
|Salt||Obsolete. Gets or sets the salt string.|
|TypeId||(Inherited from Attribute.)|
This attribute helps defend against cross-site request forgery. It won’t prevent other forgery or tampering attacks.
For more information about using attributes, see Extending Metadata Using Attributes.