I want to implement Biometric access to my UWP app and want to get which sign-in option is configured by the user(Hello Face/Hello Fingerprint).
Is there any way I can get the user-configured sign-in type?
If not I can go to an option like this.
I can check whether the fingerprint is enabled using
var ucvAvailability = await Windows.Security.Credentials.UI.UserConsentVerifier.CheckAvailabilityAsync();
Is there any way to check if the user has enabled hello Face?
CodePudding user response:
Is there any way I can get the user-configured sign-in type?
No, UWP does not have such APIs that could access the system setting like sign-in options.
Is there any way to check if the user has enabled hello Face?
No, there is no way in UWP to check if the customer enabled Hello face. UWP could only check if the device enables Windows Hello using KeyCredentialManager.IsSupportedAsync(). More information here: Implementing Windows Hello