GLBasic forum

Main forum => GLBasic - en => Topic started by: jshart on 2007-Dec-25

Title: platforminfo$ details
Post by: jshart on 2007-Dec-25
I am wondering what the data returned by:

info$ = PLATFORMINFO$("ID") // Get uniqe device id
PRINT "ID = " + info$, 0,40

indicates.... I had hoped that the "ID" would be unique to each computer, but I have gotten the same id from two different machines (both windows xp). Also is there a way to decode what the 8 digit hex number returned means?

Is there another way to uniquely "fingerprint" a computer running a GLBasic program?

-- Thanks,

J. S. Hart
Title: platforminfo$ details
Post by: Kitty Hello on 2007-Dec-25
On Win32, it's the volume number of C:\ drive.
Same for Linux.
PocketPC has a built in number. GP2X, too.
Title: Re: platforminfo$ details
Post by: Minion on 2012-Apr-05
*bump*

Just out of curiosity, does this return a unique number for mobile devices ? Im getting a lot of "repeat" user names in my highscore table (same user, just altered name) and wondered if it would be possible to add this number to there high score entry as another check (1 device, 1 highscore etc).
Title: platforminfo$ details
Post by: Kitty Hello on 2012-Apr-06
Should be unique for mobile devices. Might get 90% unique for PC.
Title: Re: platforminfo$ details
Post by: spacefractal on 2012-Apr-06
yes but if you use UDID directly from IOS, you will got a rejecting from Apple. Instead you should use OpenUDID and such for mobiles. I mean recently wrote about it in a another post?

Mightbeen volumedrive can been the same number and is not unique? Mightbeen the name of motherboard and cpu could been added as well?
Title: Re: platforminfo$ details
Post by: Minion on 2012-Apr-06
Fortunatley I only do Android, so ID will be fine for me :)
Title: Re: platforminfo$ details
Post by: Hark0 on 2012-Apr-06
Quote from: spacefractal on 2012-Apr-06
yes but if you use UDID directly from IOS, you will got a rejecting from Apple. Instead you should use OpenUDID and such for mobiles. I mean recently wrote about it in a another post?

Mightbeen volumedrive can been the same number and is not unique? Mightbeen the name of motherboard and cpu could been added as well?

You'r right, Apple rejects apps using UUID...

I don't understand why... O_O