How to get the device unique id in Windows Phone 8.1? The old way of using DeviceExtendedProperties.GetValue("DeviceUniqueId")
does not work for Windows Universal app.
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
Hope this help !
Note that when you write Universal App, it can be installed not only on phone. While on Phone technically hardware configuration is the same, on other devices it can change and so its ID. That's I think there is no such universal method to get ID. (more information you can find also here).
You may have a look at HardwareIdentification class and its method GetPackageSpecificToken:
There is also a Guidance on using the App Specific Hardware ID (ASHWID) to implement per-device app logic.