Welcome to Dream.In.Code
Become an Expert!

Join 149,530 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,507 people online right now. Registration is fast and FREE... Join Now!




Implementing a trial period

 
Reply to this topicStart new topic

Implementing a trial period, What is the best way to implement a trial period?

TedCarron
28 May, 2007 - 12:05 AM
Post #1

New D.I.C Head
*

Joined: 27 May, 2007
Posts: 1


My Contributions
I have been developing a piece of software for a while now and I want to try and sell it thru the very familiar 'free trial period' method via download sites.

My question is what is the best way to implement the fixed trial bit? I guess the idea is to store the installation date somewhere on the target machine either in a registry key or a small file somewhere.

Does any one have any refinements on this strategy or comments they would like to make on the subject in general?
User is offlineProfile CardPM
+Quote Post

gregoryH
RE: Implementing A Trial Period
28 May, 2007 - 04:28 AM
Post #2

D.I.C Regular
Group Icon

Joined: 4 Oct, 2006
Posts: 417


Dream Kudos: 50
My Contributions
QUOTE(TedCarron @ 28 May, 2007 - 01:05 AM) *

I have been developing a piece of software for a while now and I want to try and sell it thru the very familiar 'free trial period' method via download sites.

My question is what is the best way to implement the fixed trial bit? I guess the idea is to store the installation date somewhere on the target machine either in a registry key or a small file somewhere.

Does any one have any refinements on this strategy or comments they would like to make on the subject in general?

HI

The method can be circumvented unless you use some types of encrytpion algorithm on the registry stored data.

I know because I have edited a registry to extend the use of a product beyond 30 days.

The strategy should:
  1. encrypt date information
  2. check date settings against last date run
to assist you in managing the users (especially ones like me)

There is a gent here in Sydney who is a programming security expert, Malcom Smith. He has written components for both Borland and I believe MS VC++ which do this very job.

I am bordering on the rules of this site as this is commercially available, but he does have some free stuff on his web site www.mjfreelancing.com as well.

Have a surf, see if his stuff is suitable.
User is offlineProfile CardPM
+Quote Post

alpha02
RE: Implementing A Trial Period
10 Jul, 2007 - 01:34 PM
Post #3

D.I.C Addict
Group Icon

Joined: 20 May, 2006
Posts: 687


Dream Kudos: 850
My Contributions
To make things simple, a registry key is the way to go. It must be encrypted in a decryptable way. Invent your own cryptography algorythm, this way not everyone can figure out what the encryption means. Do NOT give the key a name that describes the program, or simply give a number as the key's name.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 08:56PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month