问题
Our software allows the users to lock their Windows mobile 6 devices using the following API call.
[DllImport("aygshell.dll")]
public static extern int SHDeviceLockAndPrompt();
When deploying our software our client would like to be able to set a universal unlock PIN/Password for all of their users so that each device does not need to be set-up manually.
Is there any way to set this either programmatically or through a reg key?
回答1:
I'm not sure about the Shell function call you have mentioned. But Local Authentication Sub System (LASS) Application Development should help you in doing this. Secondly it is most secure device mechanism for windows mobile 6.5 and earlier versions.
来源:https://stackoverflow.com/questions/7580452/programmatically-set-pin-password-used-to-unlock-device