User name is one of the thing he can use. It can be used in conjonction with other values like the processor type, os version, MAC adress (if present), etc.... . There is no perfect way to uniquely identify a device when there is no serial number exept the mac adress maybe. It was greatly discussed in other treads.
Using the tick will provide a different number if the user reinstall its software after a hardreset witch will force the user to contact you to get a new access key (unless this is what you want). -- Regis St-Gelais, P. Eng. / ing. www.laubrass.com -- "Greg Lutz" <[EMAIL PROTECTED]> a �crit dans le message de news:[EMAIL PROTECTED] The user name doesn't provide very good protection against duplication: two different users of the application could easily have a user name of "Tom". What our company has done doesn't provide absolute protection either, but it's better than the user name: the current system time in ticks. We actually just convert the values returned by TimGetSeconds and TimGetTicks into strings and concatenate them. If you look at the definitions of these two functions, you'll see that accidental duplication of this value by different users is very unlikely. Of course, we only use this value as a fallback if there's no ROM serial number to use. Either way, we capture the chosen identifier just once and store it in the Preferences database. Greg Lutz NearSpace, Inc. At 10:28 AM 1/20/2004, Regis St-Gelais wrote: >you can use the hotsync user name: > > DlkGetSyncInfo(NULL,NULL,NULL,strpUserName,NULL,NULL); > > >-- >Regis St-Gelais >www.laubrass.com > >-- >"Marcelo Henrique" <[EMAIL PROTECTED]> a �crit dans le message de >news:[EMAIL PROTECTED] > > Hello, > > > > In my application I need identify the palm device whos run it. I�ve used >use > > the serial number but on DevPalmForum I've known that it doesn't work well > > because many devices doesn't have serial number on flash rom. > > > > So what can I do? What can I get a number or other unique identification >at > > run time? Do you know anything about this? > > > > My problem doesn't be a security problem. It's just a way to identify a > > unique palm device. > > > > > > Thanks > > > > Marcelo Henrique -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
