RequireAntiforgeryTokenAttribute.RequiresValidation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether the antiforgery token should be validated.
public bool RequiresValidation { get; }
member this.RequiresValidation : bool
Public ReadOnly Property RequiresValidation As Boolean
Property Value
Implements
Remarks
Defaults to true
; false
indicates that the validation check for the antiforgery token can be avoided.