how can I secure my code so no one can copy it / see it, and how can I make a trial feature that e.g. the user can open it up lets say 8 times then has to enter a serial number or the trial expires in X days and then the user has to enter the serial number?
(VB.NET 2008)
how to - trial version + secure code
Started by cinek, Jan 12 2008 06:10 AM
3 replies to this topic
#1
Posted 12 January 2008 - 06:10 AM
|
|
|
#2
Posted 15 January 2008 - 05:36 AM
You need to create a key system (registration system). There are some products that do it for you such as Armadillo or you can make your own. Each time the product loads it needs to test if it has been registered or not. If not, it needs to count +1 each time it is loaded. This value can be stored in the registry but make sure it is hidden and/or encrypted. Once the user reaches 8 don't let him/her proceed any further until it is registered.
#3
Posted 15 January 2008 - 08:30 AM
To make the registration form it's quite simple, the only problem that is against you is security.
#4
Posted 29 February 2008 - 07:07 AM
Use some VB code to detect the Network card MAC address of the PC then use a registration code system using the numbers from the MAC plus, for example the users name, then when running the "registered software", decode the regkey and verify against the MAC address ... if mismatch then exit politely :) ...
Have a look on some VB forums for code to read the Network card MAC address ... if you cant find any, let me know and I will dig mine out ...
Have a look on some VB forums for code to read the Network card MAC address ... if you cant find any, let me know and I will dig mine out ...


Sign In
Create Account


Back to top









