MAC-address

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
user#606
Posts: 217
Joined: Sun Jan 27, 2008 12:25 pm
Contact:

MAC-address

Post by user#606 » Sun Mar 05, 2017 12:29 pm

I have looked through the dictionary, hoping to find a simple way to get a MAC-address for windows and mac computers. I can't find anything.
I want to link the app with a specific device.
About 7 years ago, I called a windows command that pumped out system data, then I parsed that to get what I needed.
Is there a better way?

SparkOut
Posts: 2947
Joined: Sun Sep 23, 2007 4:58 pm

Re: MAC-address

Post by SparkOut » Sun Mar 05, 2017 9:51 pm

Not sure about a better way.
http://www.sonsothunder.com/devres/live ... vecode.htm has a great deal of info/tricks & tips, even if it is getting old, but probably should still be relevant.
Specifically the env001 section http://www.sonsothunder.com/devres/live ... env001.htm has a MAC address extraction function. It still works for me on Windows 10 with LiveCode 9.0-dp5

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: MAC-address

Post by jacque » Mon Mar 06, 2017 6:11 pm

I'm using the same tip on Mac and it works there too.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply