OpenNETCF.Win32.Core.GetDeviceID - returns different values with 1.3?

  • Thread starter Thread starter Damon Payne
  • Start date Start date
D

Damon Payne

Does anyone know of GetDeviceID()
returning a slightly different value with NetCF 1.2 vs 1.3 code? I am
definately seeing this behavior, the value is similar but not exact.
Different byte order/encoding/etc?
 
There was an issue in v1.2 where some devices have device ids longer than
16bytes. The v1.2 code would incorrectly pull the first 10 bytes of the
preset id, which meant that for several devices of the same kind the
resultant id would not be unique. Now the code pulls the last 10 bytes from
the preset id to ensure you'll always get unique values with a batch of the
same model devices. There are now two methods GetDeviceGuid and
GetDeviceString - the latter of which returns the id string correctly
formatted and consistent with other tools which use this id, for example
SOTI MobiControl.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top