AntiforgeryRequestToken(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AntiforgeryRequestToken.
public AntiforgeryRequestToken (string value, string formFieldName);
new Microsoft.AspNetCore.Components.Forms.AntiforgeryRequestToken : string * string -> Microsoft.AspNetCore.Components.Forms.AntiforgeryRequestToken
Public Sub New (value As String, formFieldName As String)
Parameters
- value
- String
The antiforgery token value.
- formFieldName
- String
The form field name for the antiforgery token.