Search code examples
c#trialware

Need help for making Trial version product in .Net technology


we can develop trial version easily that when user install product then end date will store in registry. when apps will run then every time we check the system date is less that or equal to end date. if yes then apps will run otherwise apps will give a message for purchasing product. this way we can develop trial version but there is one problem that user can change the system date and run the software and also user can delete the registry entry. in big companies what measures are taken to develop trial product which will run on single machine if internet connection is not there.

if anyone knows the industry standard logic then please share with me.


Solution

  • This step is often delegated to 3rd party tools, such as NET Reactor or Dotfuscator.

    Those tools (and others) will not only obfuscate your code, but can also support various degrees of licensing protection.

    For instance, NET Reactor will let you specify timeouts, or number-of-times-run to expire your application. You can then distribute license files to unlock the app for another period of time (or permanently).

    Dotfuscator has some fancy features where your app can report back to your server when it is run, when exceptions occur, etc. allowing you to get an idea of how your app is behaving in the wild, in addition to supporting various licensing models.

    Of course, your customers may or may not like the idea of the app 'phoning home', but the tools are out there if that's what you want.