views:

134

answers:

5

How can I add license to my C# desktop application? I need to find a suitable free method to prevent unauthorised users installing my software.

+1  A: 

There are plenty of license management systems out there for .NET (there's even one built-in for licensing controls). A quick Google around for ".NET licence manager" threw up the Open License system, which is free.

I expect you can easily find more.

Dr Herbie
A: 

There is no easy way to prevent your software from being used by unauthorised users. However, you may want to look at this.

Mayank
Looks like we posted the same link. I had this bookmarked, but I just now went through the code. I found a number of type conversion warnings and other issues, so I would recommend only using it as a general guide to creating your own.
Nick Hebb
A: 

One approach is to roll your own partial key verification system. There is a VB.NET version available on Code Project:

http://www.codeproject.com/KB/security/cdkeys.aspx

Nick Hebb
A: 

Be wary of how much effort you put in to protecting your app; it may be wasted time if it is easily broken or off putting to users if very strong (e.g. having to enter a password every time it is run).

An interesting article on software protection (of games) can be found here: http://www.positech.co.uk/talkingtopirates.html

Tony
A: 
StephaneT