Is there any unique device ID (UDID) or any similar ID I can read out on Windows Phone 8 (WP8) that doesn\'t change with hardware changes, app-reinstallation etc.?
I
I found this a new HostInformation.PublisherHostId property More info at http://msdn.microsoft.com/en-us/library/windowsphone/develop/windows.phone.system.analytics.hostinformation.publisherhostid.aspx..
string myDeviceID = (byte[])DeviceExtendedProperties.GetValue("DeviceUniqueId");
string DeviceIDAsString = Convert.ToBase64String(myDeviceID);
I have used this for windows phone unique device Id.
You can get your own wp8 device Id by DeviceExtendedProperties.GetValue("DeviceUniqueId") Here is the simple way to get deviceId as a string
byte[] id = (byte[])Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("DeviceUniqueId");
string deviceID = Convert.ToBase64String(id);