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 字符串。

属性

适用于