Link to home
Start Free TrialLog in
Avatar of rye004
rye004Flag for United States of America

asked on

Licensing software in C# 7

I am considering building a new application using C# 7.  I was researching building a licensing component.  I would envision licensing my software for a year at a time.  

I have found numerous articles on free solutions that I can implement, however many of them are 10+ years old!  I wanted to see if anyone had suggestions on how I could go about this.

As a reference, I did find this article which looks good.  However, it is from 2005, therefore I wanted to check the community to see if there was a “newer and better” way to accomplish this.

https://www.codeproject.com/Articles/11012/License-Key-Generation
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

YOu could try commercial products like .NET Reactor or soraco.
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rye004

ASKER

Eric, wow, this looks great and is from 2015!!! By far the newest article I have found on the topic.  I am reviewing it now.  Many thanks!  I am curious if Win32_BaseBoard is unique if someone uses virtual machines.  I also think I can come up with a creative way to have the license expire after a year, along with figuring out if someone sets their clock back in time.  Again, many thanks!
Win32_BaseBoard should be unique but there is no absolute guarantee. About changing the date, there is nothing in the current demo that prevent it. You can easily test for it by checking the date of a file (a config file or a log file for example). If your system date is < the file date, you have a cheater!