-api-id | -api-type |
---|---|
T:Windows.Security.Credentials.UI.UserConsentVerifierAvailability |
winrt enum |
Describes the result of a check for an an authentication device such as a fingerprint reader.
An authentication device is available.
There is no authentication device available.
An authentication device is not configured for this user.
Group policy has disabled the authentication device.
The authentication device is performing an operation and is unavailable.
You can use the CheckAvailabilityAsync method to determine if fingerprint authentication is supported for the current computer.
The following example shows a method that checks to see if an authentication device is supported for the current user and returns a message that describes the result based on the UserConsentVerifierAvailability value.
[!code-csharp1]
Fingerprint biometrics, UserConsentVerifier sample, CheckAvailabilityAsync, UserConsentVerifier, Windows.Security.Credentials.UI, Authentication and user identity