Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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
?
352 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 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

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
Six Sigma Control Plans
Starting up a Project

705 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