Re: 30 day trial
- From: "Bob Powell [MVP]" <bob@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 7 Jul 2005 18:30:14 +0200
The user can change the clock so you can use a run count to put a limit on
how many times the control is run too.
The best way to do it is with a custom license provider.
You need to store a file or a registry setting with the date of first use
somewhere. Obviously this is not good to store as clear text so something
encrypted and base64 encoded is preferred.
If your time is worth money I would also reccommend that you look at a
commercial solution. Infralution provide a very reasonably priced system
that handles unique keys and 30 day trials.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"CodeRazor" <CodeRazor@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B6301715-81FF-447E-83AC-0F7E084620E8@xxxxxxxxxxxxxxxx
> How is it possible to have the functionality as seen in many "try before
> you
> buy" software apps that give you a free 30 day trial.
>
> How could you mimic this in c#? I'm looking for theoretical approaches.
>
> How is it able to count down 30 days.
> ...Session variable clears with every session, so
> Application variable possibly?....
> How do you count down time, use the system clock? But then the user can
> just
> change the clock.
>
> ... curious.
>
> thanks, CR
.
- References:
- 30 day trial
- From: CodeRazor
- 30 day trial
- Prev by Date: Re: WMI Hard Drive physical location and drive letter problem
- Next by Date: Re: StreamReader not reading all lines
- Previous by thread: Re: 30 day trial
- Next by thread: Re: 30 day trial
- Index(es):
Relevant Pages
|