Click here to Skip to main content
11,921,898 members (65,145 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# Visual-Studio 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 Dave433.2K
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
0 OriginalGriff 578
1 Dave Kreskowiak 285
2 Sergey Alexandrovich Kryukov 173
3 phil.o 160
4 Richard MacCutchan 155
0 OriginalGriff 7,036
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,286
3 George Jonsson 2,840
4 Suvendu Shekhar Giri 2,216

Advertise | Privacy | Mobile
Web03 | 2.8.151120.1 | 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