C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

Creating time based Expiring Applications


Posted Date: 04 Sep 2008      Posted By: venkat      Member Level: Gold     Points: 1   Responses: 1



Hi All,



I need to create a windows application which can be run for stipulated time after the installation(like Trail Version). How can we create a time expiration settings module to do this using C# .net.





Thank you All......





Responses

Author: avtar    04 Sep 2008Member Level: GoldRating: 4 out of 54 out of 54 out of 54 out of 5     Points: 6

Logic.

Create file like .drv ( why drv just user wont touch the file , assuming it as a system driver file) in appln or system folder and based on system time put time/date setting in this file and when u load appln first read this file and accordignly proceed.

You knwo what the beauty of drv file is if you go and check out properties , and u uncheck "file ready for archiving " or "Archive" and now when u copy this file "file ready for archiving " gets checekd again.....

This feature can help you to enusre when people try to copy ur aplln frm one pc to another ( which u dont want ) use this logic :) , i implemented this arnd 4 yrs back :) and no one was able to crack it :) enjoy



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Create a Menu with Button + IE + VB.Net
Previous : Suppress Group footer in crystal report
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use