473,770 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

30 day trial

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
Nov 17 '05 #1
5 4541
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" <Co*******@disc ussions.microso ft.com> wrote in message
news:B6******** *************** ***********@mic rosoft.com...
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

Nov 17 '05 #2
It sounds like you are specifically looking for something for a web app.

Firstly, everything can be cracked. You can find a crack for pretty much
every major software product ever created if you look - including MS
products.

If you add an entry to the registry or something during installation to mark
the start time, then your app can check how many days it has been. Yes,
someone can change their clock. But then again, if they want your software
badly enough they will circumvent any other attempt you make to protect your
software. Additionally most people don't like having their clock set to the
same day forever, just to use some piece of software.

Additionally, who is the target of your software? If you are targeting
selling to companies, then those most likely are not going to try to get
your software for free anyway.

Also,applicaton variables are cleared every time the application restarts,
so that wouldn't work at all for you.
"CodeRazor" <Co*******@disc ussions.microso ft.com> wrote in message
news:B6******** *************** ***********@mic rosoft.com...
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

Nov 17 '05 #3
Hi,

Infralutions provides a licensing system with a component that implements the
countdown mechanism using the registry <http://www.infralution .com>

If you need stronger protection, check out ExeShield <http://www.ExeShield.c om>
which provides .NET protection for Win2000, WinXP, Win2003 but not for Win98/ME.

Best regards,

Rodger

Achieve Planner - Track your projects/tasks and schedule them in your calendar
<http://www.effexis.com/achieve/planner.htm>

Sequence Diagram Editor - Draw sequence diagrams faster
<http://www.SequenceDia gramEditor.com>
CodeRazor wrote:
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

Nov 17 '05 #4
cheers everyone.

.... so its to do with the registry.....
thanks
Nov 17 '05 #5
Hi

Software locks can be cracked easily. You try it with registry or any other
method, If your customer is a computer geek then he can surely crack the code.

However if you use hardware locks, cracking such a mechanism needs quite a
bit of knowledge on system APIs and hardware. You can use memoHASP a hardware
lock provided by Alladin, (try entering HASP in google to find more) to count
the date or number of runs using timeHASP.

Software lock is not a good idea, unless you can manage a runtime
authentication using web, where ur software will check the date from your
website and will authorize everytime the date changes.

Regards

Amey

"CodeRazor" wrote:
cheers everyone.

... so its to do with the registry.....
thanks

Nov 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
1516
by: Chinook | last post by:
OO refactoring trial ==================== Following is a simple trial structure of a refactoring (top-down to OO) learning exercise I'm doing. Whether you call it a Factory pattern, COR pattern, or some hinze 57, I don't know what class to use till run time and I'm trying to avoid a lengthy "if" sequence, the test sequence is important, and to avoid code duplication I'll be using code objects in the "doit" methods. You've already...
3
1409
by: Chumley the Walrus | last post by:
Are there any trial versions available still for VS.net . It seems like some of the old links i thought would lead to such sites are broken, can't find any info for some reason on microsoft.com for trials thanks chumley
1
1698
by: Stef Roes | last post by:
Hey, I'm a student from Belgium, and on my stage we have to work with SQL Reporting Services. One of the requirements is Visual Studio .net. So we ordered the trail version a week ago and installed it on our computers (2). Then we found out that Reporting Services didn't work on our OS. So we installed it on a Windows 2003 server. One day later the guys from the IT called our server back because they gave us the wrong laptop, the one we...
6
2473
by: Fred BROUARD - SQLpro | last post by:
Hi there, I have get a book wich have a free trial version of IBM DB2 (7.2) wich I have installed on my PC. The problem is that I cannot run it, because it seems to have no licence. When I start the program to get the licence with my web connexion open and after having fill all the required fields, this take a very long time with a message in a box that specify this will take few time.
2
6036
by: Jerry Arzin | last post by:
I was looking for a trial Access2002 version for my XP so that I can finish some of the excel tutorials that were downloaded from microsoft.com. Can anybody please give me a website that I can download it safely? Thanks.
15
3353
by: Rodrigo Ferreira | last post by:
How can i create a trial version for my component? I develop a User control and now i want to create a trial version! Greeting! Rodrigo Ferreira
3
2086
by: Michael Rodriguez | last post by:
I see VS 2005 has finally been released. My only question is, why is it a "Trial Edition"??? TIA, Mike Rodriguez
3
2131
by: JM | last post by:
Is there a trial version available for download on the net anywhere? I see on the MS web site that I can get a trial version of VStudio.Net but I am really just interested in VB on it's own. What I really want to know or check in a trial version is that VB.Net Std has a similar capabilities to VB 6 Professional which I used to use as part of Visual Studio 6. I never (hardly ever) used any of the extra stuff from VStudio 6, but to get...
4
4374
by: sqlster | last post by:
I want to get trial version of vs2005 so that I could try out asp.net 2.0 applications. Could some one please post the url for the online download. I have downloaded sql server 2005 trial version but could not find one for vs2005. The only thing available is ordering trial version dvd.
6
3366
by: William Foster | last post by:
Good evening all, I have written a single file program in Microsoft Visual Basic 2008 Express Edition that I need to build with a Trial Period. I have built in a simple check the date procedure; but anyone can get around that. Does anyone know how I can write back to the program file so that the software self destructs or becomes unusable after a particular date is reached even if the person sets the date back a month or two? I...
0
9619
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10260
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10102
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9910
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7460
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.