Click or drag to resize

HttpConfigurationExtensionsAddRequestVerificationHeaderToken Method

Adds a new anti-forgery request verification token to the headers of the specified request.

Namespace: GSF.Web.Security
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax
public static void AddRequestVerificationHeaderToken(
	this HttpRequestMessage request
)
View Source

Parameters

request  HttpRequestMessage
HTTP request message.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HttpRequestMessage. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also