Server independent serial key implementation?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
CoffeeCone
Posts: 64
Joined: Fri Apr 26, 2013 8:38 am

Server independent serial key implementation?

Post by CoffeeCone » Sat Apr 27, 2013 9:36 pm

Does anyone have some idea how a server independent serial key implementation can be implemented on-to LC apps? Is there some form of unique identifier I can obtain from a PC, Mac, Linux computer?
Learning LiveCode, one step at a time.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Server independent serial key implementation?

Post by Simon » Sat Apr 27, 2013 9:46 pm

Not fully understanding the question but unique "ID" numbers for computers can be gained from their MAC addresses.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

CoffeeCone
Posts: 64
Joined: Fri Apr 26, 2013 8:38 am

Re: Server independent serial key implementation?

Post by CoffeeCone » Sat Apr 27, 2013 9:52 pm

Simon wrote:Not fully understanding the question
I'm trying to figure out a way to implement serial key checking into an LC app without the need to rely on a server. In other words, the serial checking will be done locally, by the app itself.
Learning LiveCode, one step at a time.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Server independent serial key implementation?

Post by Simon » Sat Apr 27, 2013 10:10 pm

Sure, the app compares the current MAC address to the one it was installed on.
I'm thinking you want to know how to restrict your apps usage to the machine it was installed on. Could be wrong :D

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

CoffeeCone
Posts: 64
Joined: Fri Apr 26, 2013 8:38 am

Re: Server independent serial key implementation?

Post by CoffeeCone » Sat Apr 27, 2013 10:28 pm

Simon wrote:Sure, the app compares the current MAC address to the one it was installed on.
I'm thinking you want to know how to restrict your apps usage to the machine it was installed on. Could be wrong :D

Simon
Spot on. Now I I can't find any info on the Dictionary with regards to detecting the MAC address. Help?
Learning LiveCode, one step at a time.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Server independent serial key implementation?

Post by Simon » Sat Apr 27, 2013 11:01 pm

I was confused by the title of the post. What's a server have to do with it?
Here is a great resouce:
http://www.sonsothunder.com/devres/live ... vecode.htm
There you will find code to retrieve the MAC address and a lot more!

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

CoffeeCone
Posts: 64
Joined: Fri Apr 26, 2013 8:38 am

Re: Server independent serial key implementation?

Post by CoffeeCone » Sat Apr 27, 2013 11:03 pm

Well normally, serial key checking is done via server to ensure the authenticity and to prevent "piracy". However, I don't want to implement some robust serial key checking. I just want some minor deterrent so people don't simply give copies of the software to other people for free.
Learning LiveCode, one step at a time.

Post Reply