ValidateAntiForgeryTokenAttribute.Salt 屬性

定義

警告

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

取得或設定 salt 字串。

[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

屬性值

salt 字串。

屬性

適用於