Page 1 of 1

getHardwareID question

PostPosted: Fri Dec 21, 2007 6:38 pm
by jlorinser
Hi,

I'm trying to write a function that uses the unique hardware ID of a PocketPC device to be able to unlock a game.
I have tested the getHardwareID() function on my Pocket PC (HP 2490) and it returns 16 chars/digits, but the question is: do all the Pocket PCs have the same number of chars/digits or does it vary according to model/manufacturer? Would 6 be a safe number of chars/digits to take (and discard the rest)?

Thanks in advance!

Re: getHardwareID question

PostPosted: Fri Dec 21, 2007 7:11 pm
by makslane
The getHardwareID() function will aways returns a 16 digit string.

Re: getHardwareID question

PostPosted: Fri Dec 21, 2007 7:16 pm
by jlorinser
Thanks Makslane!

So it's safe to use the 16 char string for all models/devices?

Thanks again!

Re: getHardwareID question

PostPosted: Fri Dec 21, 2007 7:41 pm
by makslane
Sure

Re: getHardwareID question

PostPosted: Sat Jan 05, 2008 10:19 am
by Bee-Ant
Well makslane...is it possible to make a pointer in GE???

Re: getHardwareID question

PostPosted: Sat Jan 05, 2008 12:47 pm
by makslane
Yes

Re: getHardwareID question

PostPosted: Sat Jan 05, 2008 12:54 pm
by Bee-Ant
Oh...OK, I'll check :mrgreen: :mrgreen: