asp.net.ph

FormsAuthentication.Encrypt Method

System.Web.Security Namespace   FormsAuthentication Class


Produces a string containing an encrypted authentication ticket suitable for use in an HTTP cookie, given a FormsAuthenticationTicket.

[ VB ]
Public Shared Function Encrypt ( _
   ticket As FormsAuthenticationTicket _
 ) As String

[ C# ]
public static string Encrypt (
   FormsAuthenticationTicket ticket
);

[ C++ ]
public: static String* Encrypt (
   FormsAuthenticationTicket* ticket
);

[ JScript ]
public static function Encrypt (
   ticket : FormsAuthenticationTicket
 ) : String;

Parameters

ticket
An authentication ticket class.

Return Value

A string containing an encrypted authentication ticket.

See Also

FormsAuthentication Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph