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 字串。
- 屬性