Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-01-24
1
Medium Priority
?
358 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
It is a real story and is one of my scariest tech experiences. Most users think that IT experts like us know how to fix all computer problems. However, if there is a time constraint and you MUST not fail the task or you will lose your job, a simple …
Progress
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

772 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