This documentation is archived and is not being maintained.

PassportIdentity.CryptIsValid Method

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

[Visual Basic]
Public Shared Function CryptIsValid() As Boolean
[C#]
public static bool CryptIsValid();
[C++]
public: static bool CryptIsValid();
[JScript]
public static function CryptIsValid() : Boolean;

Return Value

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

For more information, see the Passport SDK documentation for IPassportCrypt.get_IsValid, available in the MSDN Library at http://msdn.microsoft.com/library .

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

PassportIdentity Class | PassportIdentity Members | System.Web.Security Namespace

Show: