Return to Snippet

Revision: 67047
at August 3, 2014 20:13 by vhdm

Initial Code
private static string get_unique_id()
     object uniqueId;
     var hexString = string.Empty;
     if (DeviceExtendedProperties.TryGetValue("DeviceUniqueId", out uniqueId))
     hexString = BitConverter.ToString((byte[])uniqueId).Replace("-", string.Empty);
     return hexString;

Initial URL

Initial Description
don't  forgot to add capability ID_CAP_IDENTIFY_DEVICE

Initial Title
get windows phone unique id

Initial Tags
phone, windows

Initial Language