Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.79 KB

userconsentverifieravailability.md

File metadata and controls

42 lines (28 loc) · 1.79 KB
-api-id -api-type
T:Windows.Security.Credentials.UI.UserConsentVerifierAvailability
winrt enum

UserConsentVerifierAvailability

-description

Describes the result of a check for an an authentication device such as a fingerprint reader.

-enum-fields

-field Available:0

An authentication device is available.

-field DeviceNotPresent:1

There is no authentication device available.

-field NotConfiguredForUser:2

An authentication device is not configured for this user.

-field DisabledByPolicy:3

Group policy has disabled the authentication device.

-field DeviceBusy:4

The authentication device is performing an operation and is unavailable.

-remarks

You can use the CheckAvailabilityAsync method to determine if fingerprint authentication is supported for the current computer.

-examples

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]

-see-also

Fingerprint biometrics, UserConsentVerifier sample, CheckAvailabilityAsync, UserConsentVerifier, Windows.Security.Credentials.UI, Authentication and user identity