PassportIdentity.Encrypt(String) Method

Definition

Encrypts data using the Passport participant key for the current site. This class is deprecated.

public:
 static System::String ^ Encrypt(System::String ^ strData);
public static string Encrypt (string strData);
static member Encrypt : string -> string
Public Shared Function Encrypt (strData As String) As String

Parameters

strData
String

The data to be encrypted.

Returns

Data encrypted using the Passport participant key for the current site.

Remarks

This class has been deprecated and is no longer supported. Microsoft Passport Network has been replaced by Windows Live ID. For more information about how to use Windows Live ID to authenticate users in a Web application, see Windows Live ID SDK.

Applies to