net481
namespace System.Web.Mvc
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
    public sealed class ValidateAntiForgeryTokenAttribute : FilterAttribute, IAuthorizationFilter
    {
        [EditorBrowsable(EditorBrowsableState.Never)]
        [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; }
    }
}
nuget.org
0.0 %
Reference this API
0.0 %
Set property
.NET Framework 4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Information specific to net481
Assembly

System.Web.Mvc , Version=5.3.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.AspNet.Mvc.

Package Microsoft.AspNet.Mvc net45
Obsolete The 'Salt' property is deprecated. To specify custom data to be embedded within the token, use the static AntiForgeryConfig.AdditionalDataProvider property.
Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

05/17/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙