07-24-2009 06:46 PM
Hi there,
I want to do two things:
1. I want the users of my application to be only able to use the software on a single machine.
I propose to use the MAC address of the PC using ipconfig /all. Will this return the same MAC address every time or will it change for different network configurations?
I would take the MAC address and manipulate it to produce an Activation code which the user must enter. How is the best way (algorithm) to manipulate the MAC address (e.g. 00-A3-6B-77-6D) to produce a unique and un-crackable Activation code. Any suggestions?
2. Anyone who has a copy of my application can use it as a trial for say 20 instances or a certain number of days.
Where and how could I store such information? In the Windows registry? For example, ever time the user runs the program without entering the Activation code (i.e. under Trial mode) a number would be added to a hidden number stored in the registry. When that number reaches say 20 then the program would no longer be able to be run until the user activates.
How best to implement this Trial arrangement and where best to store the data?
Please help.
Thanks.
07-25-2009 01:37 AM
Hi battler.,
there are different solutions to make a trial version of your software. You can store a value inside the registry, you can register on an external server or you can use a HW dongle.
Maybe some of these results help.
Mike
07-25-2009 09:11 AM
07-25-2009 11:19 AM
Hi battler,
you ask a lot here in an open forum: "to produce a unique and un-crackable Activation code"
To produce unique code you could create hash-values from the MAC address. Read wikipedia for "hash functions"...
To produce un-crackable codes, hmm, that's a different beast. There are other organisations really busy on this field of research - and spending a lot of money on this. Do you know the movie "Sneakers" with Robert Redford?
07-25-2009 06:06 PM
Thanks GerdW.
That is something I am looking for; functions such as hash-values. I need a function I can apply to the MAC address which produces a unique and must be fixed activation code. I need a funtion which can be varied so that I can use the same function to the same MAC addresses to produce a different set of activaion codes (i.e. for different versions of the software).
Do you have examples of the application of these hash values in LabVIEW? Perhaps I will get onto IEEE Explore.
No time for movies 😉
07-25-2009 06:10 PM
07-25-2009 06:21 PM
NI uses the MAC address to produce activation codes for their software. Who know what algorithms they apply to the MAC addresses?
Perhaps an AE could expand;-)
07-26-2009 09:45 AM
This discussion is getting very confusing since it's also being discussed in the original post.
Please pick one place.
07-27-2009 02:57 PM
07-29-2009 08:53 AM