AntiforgeryOptions.HeaderName Property

Definition

Specifies the name of the header value that is used by the antiforgery system. If null then antiforgery validation will only consider form data.

public:
 property System::String ^ HeaderName { System::String ^ get(); void set(System::String ^ value); };
public string HeaderName { get; set; }
public string? HeaderName { get; set; }
member this.HeaderName : string with get, set
Public Property HeaderName As String

Property Value

Applies to