Programmatically set PIN/Password used to unlock device

隐身守侯 提交于 2019-12-11 02:48:38

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!