Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi
I am working on a desktop application. I want to implement software activation in it so that we can provide trial version to client for 30 days, and after 30 days the software should ask for activation key.

I do not know how it should be implemented. Whether counting 30 days should start from installation date on client's pc or some thing else.

bye
Posted

What you need is a licensing option.

There are different ways to achieve this
1) encrypted license files that contains the expiry dates etc.
2) encrypted license keys held in the registry
3) challenge/response mechanism which require an internet connection
4) probably others.......

Try: License Key Generation[^] or: How can I create a Product Key for my C# App[^] or: c# Licensing[^]

Also,
Cryptography 101 for the .NET Framework[^]

Hope this helps.
 
Share this answer
 
Comments
Manfred Rudolf Bihy 4-Jan-11 11:38am    
Good links! 5+
Look here that is something you could use:

Application Trial Maker[^]

Best Regards,
Manfred
 
Share this answer
 
Comments
fjdiewornncalwe 4-Jan-11 9:57am    
Excellent link... But sometimes I wonder why the OP doesn't just GOOGLE these things first.
Manfred Rudolf Bihy 4-Jan-11 10:22am    
Or search on CP!
Sergey Alexandrovich Kryukov 4-Jan-11 15:19pm    
Manfred, you earned my 5, but... could we possibly do something to counteract the laziness-beyond-boundaries of the inquirers? :-)
Manfred Rudolf Bihy 4-Jan-11 15:24pm    
@SAKrykov: You are right, as so often, concerning the initiative some OPs are displaying. On the oher hand, these rep points are easily taken.
You can't get everything! :)

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