Solved

Looking for a way to set Windows application to self-destruct (stop running) like a trial version

Posted on 2013-01-24
1
349 Views
Last Modified: 2013-02-01
We had a program written which contains time-sensitive materials. We would like to allow users to install the program for a fixed time, such as 180 days, and then the application will just stop working. Can someone suggest tools or utilities or strategies for implementing time limited installations for a Windows program?
0
Comment
Question by:Shannon Mollenhauer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 250 total points
ID: 38815766
On the first run, the application creates an obscured registry entry, somewhere under HKCR.  Run Process Monitor, monitor registry operations and find the place that will be hard to tell from others.

In that place store the installation date in encrypted format, so it can't be easily recognized by eye.

On application start, check that registry value and compare to 180.

Be prepared to the fact that determined hackers will still crack your protection, and also to the fact that if your application becomes anywhere near popular, the crack will be created and published.


As an alternative, consider cryptography-based approach:
http://jclement.ca/devel/dotnet/reallysimplelicensing.html
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question