Jump to content

how to - trial version + secure code

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
cinek

cinek

    Newbie

  • Members
  • PipPip
  • 13 posts
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)

#2
Lop

Lop

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,172 posts
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
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
To make the registration form it's quite simple, the only problem that is against you is security.

#4
badkarma

badkarma

    Newbie

  • Members
  • Pip
  • 7 posts
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 ...