Mono Class Library: System.Web.Security.FormsAuthentication Overview | Members

System.Web.Security.FormsAuthentication.Decrypt Method

Decrypts a string into a FormsAuthenticationTickets

public static FormsAuthenticationTicket Decrypt (string encryptedTicket)

Parameters

encryptedTicket
The string to decode, it must have been created with Encrypt.

Returns

This will return a System.Web.Security.FormsAuthenticationTicket or if the ticket fails to validate (due to tampering) it will throw an ArgumentException

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0