IPassportCrypt::get_IsValid
IPassportCrypt::get_IsValid
Determines whether the key used for encryption and decryption is valid and whether the Passport Manager object is created and configured for encryption.
Syntax
HRESULT get_IsValid( VARIANT_BOOL *pVal );
Parameters
- pVal
[out, retval] A pointer to a VARIANT Boolean value declaring whether the current key used for encryption and decryption is valid. Returns VARIANT_TRUE if the Passport Manager object is properly configured and has a valid key; otherwise, VARIANT_FALSE.
Return values
Returns one of the following values:
S_OK Success.
Remarks
When the Microsoft .NET Passport Software Development Kit (SDK) is first installed, this method will return VARIANT_FALSE until encryption keys are installed.
See Also