I use the DeviceUniqueId
property of the DeviceExtendedProperties
object to identify a device on my Windows Phone apps.
On Windows Phone 7, it worked perfectly, and the device id remained stable across all the apps.
I migrated my apps to Windows Phone 8 (targeting both WP7 and 8), and it still worked as usual.
However, I've just developed an app that only targets WP8, and I have noticed that the DeviceUniqueId
is different than the one of my other apps (running on the same device).
To be sure, I created a few other test apps.
Here is an example on the same device (Nokia Lumia 820) :
- App1 (targets WP7 & 8), device id : 422c3795ae12b92b18882bd93ea454b3
- App2 (targets WP7 & 8), device id : 422c3795ae12b92b18882bd93ea454b3
- App3 (targets WP8 only), device id : 19ff7b4c669b1cbeaf0e42ab1e6796ea
- App4 (targets WP8 only), device id : 240fe4501de11078313a63dde118d9ae
Is this intended ? Is it possible to get a fixed device id for the WP8-only apps ?
I am unable to find any formal documentation about this behavior on MSDN.
Thanks.