getHardwareID question

Talk about making games.

getHardwareID question

Postby jlorinser » Fri Dec 21, 2007 6:38 pm

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!
jlorinser
 
Posts: 11
Joined: Mon Feb 05, 2007 5:38 am
Score: 1 Give a positive score

Re: getHardwareID question

Postby makslane » Fri Dec 21, 2007 7:11 pm

The getHardwareID() function will aways returns a 16 digit string.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: getHardwareID question

Postby jlorinser » Fri Dec 21, 2007 7:16 pm

Thanks Makslane!

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

Thanks again!
jlorinser
 
Posts: 11
Joined: Mon Feb 05, 2007 5:38 am
Score: 1 Give a positive score

Re: getHardwareID question

Postby makslane » Fri Dec 21, 2007 7:41 pm

Sure
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: getHardwareID question

Postby Bee-Ant » Sat Jan 05, 2008 10:19 am

Well makslane...is it possible to make a pointer in GE???
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: getHardwareID question

Postby makslane » Sat Jan 05, 2008 12:47 pm

Yes
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: getHardwareID question

Postby Bee-Ant » Sat Jan 05, 2008 12:54 pm

Oh...OK, I'll check :mrgreen: :mrgreen:
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron