Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello , I'm beginner in the developement and I just developed a windowns app with c# and trying to sell it , but I don't know how to do all the licensing stuff , can someone explain to me the step by step how to do this with the way that it secure ? for example if the person change the system date then expiration date won't change or if he reinstall the app the trial won't start from beginning

What I have tried:

I read many articles in internet but it mostly just a code part about lisence but I need to understand what I should do step by step , and with the proper code , thank you
Posted
Updated 16-Jun-20 20:14pm

 
Share this answer
 
Comments
OriginalGriff 17-Jun-20 2:24am    
I thought about providing that link, but it doesn't do anything with time-limited demos - and the OP specifically mention changing the system clock.
You get a five though!
Maciej Los 17-Jun-20 2:25am    
Thank you, Paul.
[no name] 22-Jun-20 13:20pm    
+5
Maciej Los 22-Jun-20 13:39pm    
Thank you, Bruno.
Pretty much the only way to do that is by having your app communicate with a server via the internet and validate the licence - and that can get complicated for a beginner, so you are probably better off buying in a solution: CryptoLicensing For .Net - Add licensing, copy-protection and activation to C# and VB.Net apps, components, controls and ASP.Net web sites.[^] is one such, but Google will find you many more.

Remember, getting a solid, secure, date based security system in place is complex, and will take a lot of your time. And if you get it wrong, it's worthless, or worse will alienate legitimate users (there is still one large company whose software I will never use again because their security system bolloxed me up so much on an app I'd paid a lot of money for). It's very hard to get a good reputation, and spectacularly easy to lose it ...
Figure out what your time is worth to you, estimate how long it will take to write your own security system, double that, and multiply the two: if that's significantly less than the price of a bought in system then go for it. Otherwise, buy it.
 
Share this answer
 
Comments
Maciej Los 17-Jun-20 2:26am    
Well explained!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900