Udostępnij za pośrednictwem


ValidateAntiForgeryTokenAttribute.Salt Właściwość

Definicja

Przestroga

The 'Salt' property is deprecated. To specify custom data to be embedded within the token, use the static AntiForgeryConfig.AdditionalDataProvider property.

Pobiera lub ustawia ciąg soli.

[System.Obsolete("The 'Salt' property is deprecated. To specify custom data to be embedded within the token, use the static AntiForgeryConfig.AdditionalDataProvider property.", true)]
public string Salt { get; set; }
member this.Salt : string with get, set
Public Property Salt As String

Wartość właściwości

Ciąg soli.

Atrybuty

Dotyczy