Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi-

 

Does anyone know of an easy way to limit the amount of time that a user can use my program? I'm looking for the simplest way to create a trial copy. Any ideas are greatly appreciated. Thanks!

  • *Gurus*
Posted

Have you considered creating a feature limited version instead of time limited? If you do, you can use Conditional Compilation to make such a process quite easy.

 

The trouble with time-limited versions is that there are any number of ways to circumvent the protection. If the feature isn't compiled in there in the first place, there's no way around it.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

  • 3 weeks later...
Posted

I have been using registry entries when I create trial versions. I limit the trial version to number of times it can be exectuted before expiring. For example, I set up an entry in local machine under software (my program), create a key, call it what ever you like, (you may be able to trick people who check for the key by naming it somthing that they would not think of checking such as: background, or font size.) If you make a 15 execution trial version set the value to 15. When you start the program use the onload to read the value of the key. Display a message such as you have 15 trys to use this evaluation, after displaying change the registry key to reflect the use of 15 - 1

Then you set the onload to determine if the key = 0 then display the message box that the evaluation has expired and end the program

 

You could easily set this as a date registry key. Plus you could also encrypt the info that is displayed in the registry keys.

 

That's the way I would do it anyway...

Posted
as divil said, time trial versions are easy to circumvent. Trust me, not that I've ever done it, especially those like Rdstne mentioned. The harder time-trial ones to mess with are the ones that use an encrypted reg key in conjunction with a hidden file, or files. Users are quick to look in the registry for changes but leary of messing with a coded file (of junk) that at 974 and the 1078 byte have the value that equal the number of days it's been used. The key is to make that file look like it's used for something so they don't mess with it. A determined user will still figure out and as divil said the best option sometimes is just not to have the options there to begin with, but sometimes that isn't a realistic option when your trying to sell a product. Good Luck.
Posted

If you ask me, there is nothing more underhanded and annoying then someone filling your computer with junk.

 

Personally i dont want a registry full of crap, that some program left there 6 months ago, to stop me reinstalling it - especially when the program was crap and unused to begin with.

 

This is one thing that really should be against the law.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...