unique id for Hardware

  • Thread starter Thread starter harsh
  • Start date Start date
H

harsh

Hello everybody... I want to generate a unique
identification based on the hardware identification of
PDA, on which my application is running.

How do i generate this using the compact framework and c#.

Any help .. ideas will be appreciated.


Thanks in advance.


Harsh
 
It also doesn't work in all devices. From what I
understand, the device id was optional for manufacturers
of PocketPC 2000 and 2002 but is required in 2003.
So if you are targeting 2000 and up, you can't rely on it.
I am looking for a solution to this problem myself if
anyone knows of any attributes of the device that can be
relied on to be available on all devices please let me
know. It would have to be relatively unique to the device.
I've been doing some testing where if the device doesn't
support a device id, I generate a random guid and put it
in the registry to be used as a device id but this is not
very secure. If I use that for product licensing someone
could copy the registry keys and circumvent the license.

Joe Audette
 
3. Some people are getting the same effect by having a data file (or
registry entry) installed
(out of band) with an unique hash (e.g. MD5) on each PPC you are supporting.

Thus you have a prep-step that the user or seller does to install the unique
certification code
somewhere, and then you use that from now on. If you want to get fancy, you
can use
write-once authorizations obtained from a server that are time based, and
expire! (talk to
your local crypto-security-guru about this!)


--
==================================
Yechezkal Gutfreund
Chief Scientist
Kesser Technical Group, Inc.
==================================
 
Thanks for all the quick responses... I tried it using
the samples and found that it does not work for all the
devices.

Ultimately decided to generate the GUIDs and store
them in registry OR db (SQL CE which comes with
redistributable license).

If any one has better solution and ideas , i would
be glad if they share with all..

Thanks again for the help.


Harsh
 
Back
Top