Windows Hello Identify configured sign in type (Hello Face/Hello Fingerprint)-UWP

Windows Hello Identify configured sign in type (Hello Face/Hello Fingerprint)-UWP

我想实现对我的 UWP 应用程序的生物识别访问,并希望获得用户配置的登录选项(你好 Face/Hello 指纹)。

有什么方法可以获得用户配置的登录类型?

如果没有我可以去这样的选项。

我可以使用

检查是否启用了指纹
var ucvAvailability = await Windows.Security.Credentials.UI.UserConsentVerifier.CheckAvailabilityAsync();

有什么方法可以检查用户是否启用了hello Face?

Is there any way I can get the user-configured sign-in type?

不,UWP 没有可以访问 sign-in 选项等系统设置的 API。

Is there any way to check if the user has enabled hello Face?

不,UWP 中无法检查客户是否启用了 Hello face。 UWP 只能检查设备是否启用 Windows Hello using KeyCredentialManager.IsSupportedAsync(). More information here: Implementing Windows Hello