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|AttributeTargets.Method, AllowMultiple = false, 
	Inherited = true)]
public sealed class ValidateAntiForgeryTokenAttribute : FilterAttribute, 

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.