Click here to Skip to main content
11,414,234 members (70,392 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# VS2010
I have just finished up a small windows application in c#.

I have created a setup and now I want to run this application only for 7 days.
(after that it should be registered with any serial keys, or any other method).

How can I achieve this?
Posted 17-Oct-11 22:17pm
Edited 17-Oct-11 22:33pm
Dalek Dave at 18-Oct-11 3:35am
Edited for Grammar and Syntax.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Microsoft has a product called Software License & Protection Services (SLP Services) to help ISVs protect and manage their software from piracy. This same technology may be used to manage trials as well as conversion from trial to a licensed product via a different license key. You can take a look at[^]

These links will help you understand how you can solve this Licensing issue. Here are the links;
Application Trial Maker[^]
c# Setup for Trial and Serial key[^]

Good luck
Dalek Dave at 18-Oct-11 3:35am
Good Links.
Orcun Iyigun at 18-Oct-11 3:36am
Thank you ;)
Indiana.Net at 18-Oct-11 3:47am
thanks !! really helpfull
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Another option is a timer control, run from initial set up, and after 7 days it asks for a key.
Base the algorithm of the key on a date control and then email it after payment/registration is received.

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 9,130
1 OriginalGriff 7,477
2 Maciej Los 3,710
3 Abhinav S 3,298
4 Peter Leow 3,084

Advertise | Privacy | Mobile
Web01 | 2.8.150427.2 | Last Updated 18 Oct 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100