AntiforgeryStateProvider.GetAntiforgeryToken Method     
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.
Gets the current AntiforgeryRequestToken if available.
public abstract Microsoft.AspNetCore.Components.Forms.AntiforgeryRequestToken? GetAntiforgeryToken();abstract member GetAntiforgeryToken : unit -> Microsoft.AspNetCore.Components.Forms.AntiforgeryRequestTokenPublic MustOverride Function GetAntiforgeryToken () As AntiforgeryRequestTokenReturns
The current AntiforgeryRequestToken if available.