Click or drag to resize

HtmlHelperAntiForgeryTokenHeader Method

Generates an anti-forgery token that can be manually added to a "RequestVerificationToken" HTTP header, e.g., from within an AJAX request.

Namespace:  GSF.Web.Model
Assembly:  GSF.Web (in GSF.Web.dll) Version: 2.2.202-beta
Syntax
public string AntiForgeryTokenHeader()
Request Example View Source

Return Value

Type: String
Anti-forgery token to be added as the "RequestVerificationToken" HTTP header value.
See Also