Well, this questions appears all over the archives, but here's yet
another answer to it:
Sort of. All Palms with flashable memory (see the technical specifications
on the Palm developer site) have a FLASH serial number (it's not the unit
serial number, but rather, the serial number of the ROM build).
All Palms that have masked rom do not have a serial number. However,
the Handspring Visor, which has masked rom, can have serial numbers
within their Springboard attachment.
And next, after checking for those, you retrieve the Hotsync user name.
In this order, you can do this:
errval = SysGetROMToken( 0, sysROMTokenSnum, (unsigned char**)numberP,
&buflen);
If you can get the ROM number, then great. Otherwise, you'll have to
be dependant upon the user name, like so:
DlkGetSyncInfo( NULL, NULL, NULL, nameP, NULL, NULL );
//Where nameP is a CharPtr to the Hotsync user name
By combining this data, you get pretty much the closest thing to a "unique"
number as it gets. Of course, you're using this for copy protection
purposes.
Hope that helps!
-Rus
http://www.act.avnet.com/
>Is there some kind of serial number retreivable
>via programming for each palm...
>
>Or any unique number for each palm device made
>
>I need to have a unique key for each of the palm I install my apps on.
>The best would be some kind of serial number or something like that.
>Anyone have a clue ??
>
>--
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>Patrick Ouellet - Programmeur
>[EMAIL PROTECTED]
>Recherche & Devloppement
>Les Entreprise Microtec inc.
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
>
>--
>For information on using the Palm Developer Forums, or to
>unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/