Fingerprint Readers

Windows supports fingerprint authentication for sign in, buying content from the Windows Store, and more. Once a user configures this feature for recognizing his or her fingerprint, universal apps can leverage the same authentication mechanism for custom purposes. It is exposed in a UserConsentVerifier class in the Windows.Security.Credentials.UI namespace.

UserConsentVerifier has two static methods:

CheckAvailabilityAsync—Checks whether a fingerprint reader exists, and if it is configured, enabled, and ready to be used.

RequestVerificationAsync—Asks the user for his or her fingerprint, along with a message you pass as a string parameter.

If fingerprint authentication can be done, CheckAvailability returns UserConsentVerifierAvailability.Available ...

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.