GetFingerprintSensorInfo Method
GetFingerprintSensorInfo()
Get the fingerprint sensor info, which is the "fingerprint kind" (touch or swipe), maximum capture count, and the maximum length, in bytes, of a template friendly name.
C#
public FingerprintSensorInfo GetFingerprintSensorInfo()
Returns
A FingerprintSensorInfo
object.
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The connected YubiKey does not support reading fingerprints. |
Remarks
If the connected YubiKey does not have a fingerprint sensor, this method will throw an exception. Hence, it would be a good idea to call GetBioModality() and verify the modality is Fingerprint before calling this method.