Click here to Skip to main content
13,297,799 members (53,602 online)
Rate this:
Please Sign up or sign in to vote.
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
Updated 17-Oct-11 22:33pm
Dalek Dave433.3K
Dalek Dave 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 18-Oct-11 3:35am
Good Links.
Orcun Iyigun 18-Oct-11 3:36am
Thank you ;)
Indiana.Net 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
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171207.1 | Last Updated 18 Oct 2011
Copyright © CodeProject, 1999-2017
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