I am looking for a way to identify multiple devices via a number. So I was trying to get the IMEI number of a device by using the EMDK for .NET. Does anyone know how I can get the IMEI or a similar number to identify a device? Thanks
Identify Devices |
7 Replies
You can get the serial number separately from the UUID Look in the help file for Electronic Serial Number (ESN) - its in the resource cordinator. Most terminals now fully support this.
Thank you very much for help. It worked well.
I'm sorry but I need your help again, to identify a device. I need the serialnumber and I thought i can get it out of the uuid. Is there a way to get the serialnumber of the device by using the emdk?
As I know, there is no possibility to get the S/N from UUID. BR, G.
Thank you for you quick answer. It worked but when I convert the byte array to a string it doesn't match with the UUID displayed by my device. Is this correct or do I convert the array in the wrong way? I attached a screenshot were you can see the byte array.
Hi Albos, Use this code: public String GetDeviceUUID() { Symbol.ResourceCoordination.TerminalInfo t = new Symbol.ResourceCoordination.TerminalInfo(); String UUID; if (t.UniqueUnitID != null) UUID = BitConverter.ToString(t.UniqueUnitID, 0, 16); else UUID = ""; return UUID.Replace("-", ""); }
Regards, G.
You can use Symbol.ResourceCoordination.TerminalInfo class and UniqueUnitID (UUID). Regards, G.