GetBioModality Method
GetBioModality()
Get the biometric method the YubiKey uses. If the YubiKey is not a Bio series device, this will return "None".
C#
public BioModality GetBioModality()
Returns
A BioModality
value, indicating the biometric method or else
"None" for non-Bio series devices.
Remarks
Note that the UvModality property
also indicates the modality. It is defined as a bit field with the
specific bits defined in the FIDO standard's Registry of Predefined
Values, section 3.1. For example, in that bit field, the bit in
position 1 (the integer 2) is defined as
USER_VERIFY_FINGERPRINT_INTERNAL
.