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 was replaced by Windows Live ID.

Applies to