问题
I am writing an App with some reasonably sensitive data in it. At the moment is uses a forms based login page, username and password. I currently cache the username but not the password - forcing the user to type it in each time.
One of my users has pointed out that if they already lock the phone with a PIN, it is not much less safe to cache the password as well.
So, can you detect whether a WinPhone8 device is using a PIN on the lock screen?
回答1:
Unfortunately there is currently no API available which will tell you whether the user has set a PIN on the lock screen from within an app.
来源:https://stackoverflow.com/questions/17656232/lock-screen-pin-detection-on-winphone8