I need to generate unique machine ID for a CE 6.0 device. On Windows OS, I was using the WMI to obtain some hardware identifiers from which I constructed this ID. Apparently, WMI is not supported on Win CE so I am looking for alternatives.
At the moment I am playing with OS image that I have constructed in Platform Builder and testing my app in emulator, only later I will be delivered the real WinCE device.
I have tried both GetDeviceUniqueID
and KernelIoControl(IOCTL_HAL_GET_DEVICEID,...
but they both return ERROR_NOT_SUPPORTED
( 0x80070032 ).
- Do I need to include some package from the wince catalog in order to enable this feature?
Is this limitation only on emulators? (i mean, could it be that OEM's are implementing this unique-id-feature for real devices?
Do you have any other idea how I could construct this value? Like getting hardware / OS serials etc. and how?