platforminfo$ details

Previous topic - Next topic

jshart

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

Kitty Hello

On Win32, it's the volume number of C:\ drive.
Same for Linux.
PocketPC has a built in number. GP2X, too.

Minion

*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).

Kitty Hello

Should be unique for mobile devices. Might get 90% unique for PC.

spacefractal

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?
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Minion

Fortunatley I only do Android, so ID will be fine for me :)

Hark0

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
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic