Condividi tramite


ValidateAntiForgeryTokenAttribute.Salt Property

Gets or sets the salt string.

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

Syntax

'Declaration
Public Property Salt As String
    Get
    Set
public string Salt { get; set; }
public:
property String^ Salt {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
The salt string.

See Also

Reference

ValidateAntiForgeryTokenAttribute Class

System.Web.Mvc Namespace