c# - How to get device lock type? -


so, i`m trying check application if device has type of protection when user tries unlock it. means. need know if device unlocked without graphical (numeric) key mobile devices. desktop devices in need know if current user has password. possible in general both cases (mobile , pc)?

on pc seems there no method detect if password set user account, there method check if pin set using keycredentialmanager.issupportedasync | issupportedasync method, can check official keycredentialmanager sample, passportavailablecheck() method in signin.xaml.cs file.

for pc, pin higher level security, can set if password set , there have other security policies. on mobile there no password, if pin set, can detected.

this topic belongs security part of uwp apps, here documents example create microsoft passport login app, fingerprint biometrics. may not able solve problem, can see can , not able in uwp app these documents.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -