Programmatically set PIN/Password used to unlock device
Our software allows the users to lock their Windows m开发者_开发技巧obile 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?
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.
精彩评论