FormsAuthentication.Decrypt Method
.NET Framework 2.0
Creates a FormsAuthenticationTicket object based on the encrypted forms-authentication ticket passed to the method.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public static FormsAuthenticationTicket Decrypt ( String encryptedTicket )
public static function Decrypt ( encryptedTicket : String ) : FormsAuthenticationTicket
Not applicable.
Parameters
- encryptedTicket
The encrypted authentication ticket.
Return Value
A FormsAuthenticationTicket object. If the encryptedTicket parameter is not a valid ticket, a null reference (Nothing in Visual Basic) is returned.Community Additions
ADD
Show: