ValidateAntiForgeryTokenAttribute.Salt 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 字符串。
- 属性