Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: Java
I am trying to develop a licensing system based on MAC address.
The best i can think of is MD5 of MAC address in a separate license file.
Please suggest me something better than MD5 approach.
Thanks in advance.
Posted 19-Sep-12 1:44am
Joan Murt at 19-Sep-12 7:53am
There are plenty of MAC changer softwares out there... just saying.
TorstenH. at 19-Sep-12 11:02am
only if you are alone in your network.
Would be wild to have several same MAC addresses in a network....
Andrei Straut at 19-Sep-12 8:01am
You might wanna hash that with something like CPUID and/or motherboard ID. Possible downsides may be that whenever a user changes his configuration, you'll need to regenerate a new license key, not to mention that obtaining this information without notifying the user may be illegal in some countries
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

In addition to what Joan said in his comment to you, why would you want to torture your customers with such a scheme? Imagine their overbrimming joy when they find out your software is no longer working for them after changing the network card in their computer.
The way I see it, this is definitely not a good idea!
My two cents.
— Manfred
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Do you need to develop it or would a lib that you can use be fine?
License3j[^] is pretty smart and works fine. Easy to integrate.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 310
1 CPallini 310
2 George Jonsson 269
3 Gihan Liyanage 255
4 OriginalGriff 245
0 OriginalGriff 4,903
1 CPallini 3,960
2 Sergey Alexandrovich Kryukov 3,474
3 George Jonsson 2,786
4 Gihan Liyanage 2,386

Advertise | Privacy | Mobile
Web02 | 2.8.140905.1 | Last Updated 19 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100