我用JavaScript开发的WinRT程序,用于Surface上,请问如何获取设备的唯一编号?
我想通过设备的唯一编号控制用户访问权限,即:只有授权的Surface才能访问我的后台服务。
Hi,
商店应用不能获得设备编号。是使用ASHWID来区别每一台设备的,你可以看看这个:
http://msdn.microsoft.com/en-us/library/windows/apps/jj553431.aspx
Aaron MSDN Community Support | Feedback to us Develop and promote your apps in Windows Store Please remember to mark the replies as answers if they help and unmark them if they provide no help.