/ Published in: C#

don't forgot to add capability IDCAPIDENTIFY_DEVICE
Expand |
Embed | Plain Text
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; }
You need to login to post a comment.