net481
namespace System.Web.Mvc
{
    public class HtmlHelper
    {
        [EditorBrowsable(EditorBrowsableState.Never)]
        [Obsolete("This method is deprecated. Use the AntiForgeryToken() method instead. To specify custom data to be embedded within the token, use the static AntiForgeryConfig.AdditionalDataProvider property.", true)]
        public MvcHtmlString AntiForgeryToken(string salt);
    }
}
.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 (5.3.0) net45
Obsolete This method is deprecated. Use the AntiForgeryToken() method instead. 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

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