Share via


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 string HeaderName { get; set; }
public string? HeaderName { get; set; }

Property Value

Applies to