AntiForgery.GetTokens(String, String, String) Method

Definition

Gets the search tokens.

public static void GetTokens (string oldCookieToken, out string newCookieToken, out string formToken);
static member GetTokens : string * string * string -> unit
Public Shared Sub GetTokens (oldCookieToken As String, ByRef newCookieToken As String, ByRef formToken As String)

Parameters

oldCookieToken
String

The previous cookie token.

newCookieToken
String

The new cookie token.

formToken
String

The form of the token.

Applies to