Page 1 of 1

Server independent serial key implementation?

Posted: Sat Apr 27, 2013 9:36 pm
by CoffeeCone
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?

Re: Server independent serial key implementation?

Posted: Sat Apr 27, 2013 9:46 pm
by Simon
Not fully understanding the question but unique "ID" numbers for computers can be gained from their MAC addresses.

Simon

Re: Server independent serial key implementation?

Posted: Sat Apr 27, 2013 9:52 pm
by CoffeeCone
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.

Re: Server independent serial key implementation?

Posted: Sat Apr 27, 2013 10:10 pm
by Simon
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

Re: Server independent serial key implementation?

Posted: Sat Apr 27, 2013 10:28 pm
by CoffeeCone
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?

Re: Server independent serial key implementation?

Posted: Sat Apr 27, 2013 11:01 pm
by Simon
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

Re: Server independent serial key implementation?

Posted: Sat Apr 27, 2013 11:03 pm
by CoffeeCone
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.