SelectedKeyValid Property
Returns True if this key is valid.
Syntax
bool GetSelectedKeyValid(int iSelectedKeyIndex);
Default Value
false
Remarks
Returns True if this key is valid. The term Valid highly depends onthe kind of the key being stored. A symmetric key is considered validif its length fits the algorithm being set. The validity of anRSA key also ensures that the RSA key elements (primes, exponents,and modulus) are consistent.
The SelectedKeyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SelectedKeyCount property.
This property is read-only and not available at design time.
Data Type
Boolean