DeviceId

  • Thread starter Thread starter Harry Simpson
  • Start date Start date
H

Harry Simpson

I'm using IOCTL_HAL_GET_DEVICEID
and it gives me:
3500089F7748F9A13800-0050BF3F5173

Where on the device can i go to get this number without
programming.....Settings, DeviceID is the friendly name you give the device.
Is this like the MAC address for the PPC???

Is there a better way for my to track in a log which device did what?

TIA

Harry
 
This ID is unique to the device and cannot be changed by the user. However
there isn't anywhere in the UI which will display this value - and it wont
match the manufacturers serial number on the back of the device.
The DeviceID in the control panel is stored in the registry in the
HKEY_LOCAL_MACHINE\Ident key. However it's easy for a user to change this so
may not be good for your logs.

Peter
 
Thanks Peter,

Is the first set of numbers 3500089F7748F9A13800
or the second set 0050BF3F5173
of the total DeviceID of 3500089F7748F9A13800-0050BF3F5173
likely to be unique or does the whole number make up the guid?

Harry
 
1st number is Imei. I think u use a HTC device.

2nd is vesion number of OS ( or CF ??? ) this is not unique.
 
So really if I only grabbed the first number, chances are that'd be unique
enough for normal uses of id right?

Harry
 
I am looking to do the same call in VB.net on a Pocket PC device, does anyone
have the code to retrieve the same Device ID in VB.Net?
 
Back
Top