is there a manner to retrieve the computer info fingerprint

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

is there a manner to retrieve the computer info fingerprint

Post by Fasasoftware » Tue Jul 01, 2014 7:50 pm

hi to all...

is there a script either for win32/64 and macOSX 64 to retrieve the details info (fingerprint) of the computer i'm using???

for example , memory, cpu, freq....etc...??? and put it in a field??

I thank you in advance,

Best regards,

lestroso :oops:

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10100
Joined: Fri Feb 19, 2010 10:17 am

Re: is there a manner to retrieve the computer info fingerp

Post by richmond62 » Tue Jul 01, 2014 8:52 pm

Have a look in the Dictionary at:

systemversion

AndyP
Posts: 634
Joined: Wed Aug 27, 2008 12:57 pm
Contact:

Re: is there a manner to retrieve the computer info fingerp

Post by AndyP » Tue Jul 01, 2014 9:40 pm

On Windows you can get the Active System HD serial with the the code below.
In a button;

on mouseUp

put $systemdrive into tSysDrive
//string for the shell command
put "vol " & tSySDrive into tDriveInfo

//the last word of the returned info is the ACTIVE SYSTEM HD Serial
set the hideConsoleWindows to true
put the last word of shell(tDriveInfo) into tHDSerial

answer "HD Serial is " && tHDSerial with "OK"

end mouseUp

Also try;

put $COMPUTERNAME

put shell("net view")

put shell("net user")
Andy .... LC CLASSIC ROCKS!

Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Re: is there a manner to retrieve the computer info fingerp

Post by Fasasoftware » Tue Jul 01, 2014 10:09 pm

thanks a..lot....but i need if possible a script either for mac and win...

can you help plese??

thanks,

lestroso

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: is there a manner to retrieve the computer info fingerp

Post by FourthWorld » Tue Jul 01, 2014 11:32 pm

By "fingerprint" do you mean MAC address?

If so:
http://www.sonsothunder.com/devres/live ... env001.htm
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

AndyP
Posts: 634
Joined: Wed Aug 27, 2008 12:57 pm
Contact:

Re: is there a manner to retrieve the computer info fingerp

Post by AndyP » Wed Jul 02, 2014 6:59 am

I don't have a mac, but I think you can use this format for command.


put shell("echo $system_profiler")


put shell("echo $system_profiler SPParallelATADataType")

I believe this will get you the HD Serial
put shell("echo $system_profiler SPParallelATADataType | grep Serial")
Andy .... LC CLASSIC ROCKS!

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10100
Joined: Fri Feb 19, 2010 10:17 am

Re: is there a manner to retrieve the computer info fingerp

Post by richmond62 » Wed Jul 02, 2014 8:02 am

Why do I have a funny feeling you want this information so you can tether an application to a
particular computer?

This is very awkward, just like password protecting and so on; and, probably, more trouble than
it is worth.

Remember the ONLY thing that is constant in a computer is its MAC address.
Last edited by richmond62 on Fri Jul 04, 2014 9:18 am, edited 1 time in total.

Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Re: is there a manner to retrieve the computer info fingerp

Post by Fasasoftware » Wed Jul 02, 2014 9:28 am

I thank you to everybody....now it's all clear.. thanks a lot

Best regards,
Lestroso

Post Reply