MSDN Library

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(L"The 'Salt' property is deprecated. To specify custom data to be embedded within the token, use the static AntiForgeryConfig.AdditionalDataProvider property.", 
	true)]
public:
property String^ Salt {
	String^ get ();
	void set (String^ value);
}

Property Value

Type: System::String
The salt string.
Show:
© 2016 Microsoft