Solved

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

Posted on 2013-01-24
1
343 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
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

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now