Creating a license key for your software... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Creating a license key for your software...

How can I create a licensing key for my software in Visual Studio? Since most of the projects I worked was SaaS, I never searched for it. Any help would be very appreciated :)

9th May 2019, 5:07 AM
Breno Wilson
Breno Wilson - avatar
5 Answers
+ 3
Keep in mind, a dedicated person will crack your licensing, so no point in licensing your apps unless they are really big and important to you, to the point where you can lose money.
9th May 2019, 7:16 AM
inxanedev!
inxanedev! - avatar
+ 1
Good point. Always keep the effort/benefit ratio in mind. :D
9th May 2019, 7:18 AM
Daniel Adam
Daniel Adam - avatar
0
That's nothing Visual Studio solves. A licence key is a authorization (usually time discrete) for an single (sometimes limited number of) installation (or even runtime) instance. So it is a function from evironment to bool. How to implement this is your problem. You can create unique setups (compile them for their each download with a unique identifier), or use special environment keys (like hardware serial numbers), or ... It's up to you.
9th May 2019, 6:09 AM
Daniel Adam
Daniel Adam - avatar
0
Thanks for your contribution :)
9th May 2019, 6:29 AM
Breno Wilson
Breno Wilson - avatar
0
Thanks for your contribution :) And yes, I really need to do it, or I will lost money :)
9th May 2019, 12:44 PM
Breno Wilson
Breno Wilson - avatar