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)
'Declaration <ObsoleteAttribute("The 'Salt' property is deprecated. To specify custom data to be embedded within the token, use the static AntiForgeryConfig.AdditionalDataProvider property.", _ True)> _ Public Property Salt As String Get Set 'Usage Dim instance As ValidateAntiForgeryTokenAttribute Dim value As String value = instance.Salt instance.Salt = value
Show: