ValidateAntiForgeryTokenAttribute.Salt Property

Note: This API is now obsolete.

Gets or sets the salt string.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

[<ObsoleteAttribute("The 'Salt' property is deprecated. To specify custom data to be embedded within the token, use the static AntiForgeryConfig.AdditionalDataProvider property.", 
    true)>]
member Salt : string with get, set

Property Value

Type: System.String
The salt string.
Show: