System.Web.Security.PassportIdentity.CryptIsValid Method

Gets the state of a flag indicating if the Passport Manager is in a valid state for encryption. This class is deprecated.

Syntax

public static bool CryptIsValid ()

Returns

true if the key used for encryption and decryption is valid and if the Passport Manager is in a valid state for encryption; otherwise, false.

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 tp://go.microsoft.com/fwlink/?LinkId=106346.

Requirements

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