Making an app not function after some time
-
Hi. I am wondering how one goes about making an application not work after some time. I just made an app and I want it to work for a year and then the buyer needs to buy again. How do I do that? This is similar to how many companies do, they license their software for some time and after some time it stops working or something like that. How is this done? Thanks, F
-
Hi. I am wondering how one goes about making an application not work after some time. I just made an app and I want it to work for a year and then the buyer needs to buy again. How do I do that? This is similar to how many companies do, they license their software for some time and after some time it stops working or something like that. How is this done? Thanks, F
i don't have professional experience in this matter, but the first thing that comes up with me , is registering a start date somewhere in registry, and make your application check that date everytime it starts. I would not check the system time, because with putting it back, the program should work again. Now i'm curious how other people think of this.
-
Hi. I am wondering how one goes about making an application not work after some time. I just made an app and I want it to work for a year and then the buyer needs to buy again. How do I do that? This is similar to how many companies do, they license their software for some time and after some time it stops working or something like that. How is this done? Thanks, F
You have to store the date the application was started the first time, then every time the application starts you have to compare todays date with the stored date. The user can ofcours youst revind the date in his bios, to make the application work again. Thus, if you the application requirs internett access, you could stor the date on a private server, and compare it with the servers "todays date".
-
You have to store the date the application was started the first time, then every time the application starts you have to compare todays date with the stored date. The user can ofcours youst revind the date in his bios, to make the application work again. Thus, if you the application requirs internett access, you could stor the date on a private server, and compare it with the servers "todays date".
Hi. Can you maybe elaborate a little more? Isn´t there some simple way of doing this? I was thinking of DateTime, perhaps creating a thread that checks to see if year is 2007 and then disables something in the program. Do you know how to do this? Thanks, F
-
You have to store the date the application was started the first time, then every time the application starts you have to compare todays date with the stored date. The user can ofcours youst revind the date in his bios, to make the application work again. Thus, if you the application requirs internett access, you could stor the date on a private server, and compare it with the servers "todays date".
-
Hi. I was thinking about creating a thread that checks to see if year is 2007 and then disables something in the app. Is this possible? Perhaps someone can show me how this is done as it seems to be an easy way of doing this. Thanks, F
Why don't you check when the executed file was created? Although you can change the created date/time of a file. Even when the user changes the date/time the created date will always remain the same, then you have the problem of getting the correct date/time for that user because if they set the clock back, DateTime.Now() should return the changed date/time. If internet access is require then I am sure you can connect to Microsofts time server to get the time, or you could use your own server. You could try and get the bios time? Not sure how tho, and if the date/time is set back further then the date/time created for that file then stop it from working. Then you'd have to set some sort of flag, file/registry etc just incase the user uninstalls and reinstalls as the date it was created will now be the day they un/installed the software. Hope that helps? Gav
-
Hi. I am wondering how one goes about making an application not work after some time. I just made an app and I want it to work for a year and then the buyer needs to buy again. How do I do that? This is similar to how many companies do, they license their software for some time and after some time it stops working or something like that. How is this done? Thanks, F
What you are trying to do is not easy at all (if you want something reliable at least.) You could start by reading this article[^].
Luis Alonso Ramos Intelectix Chihuahua, Mexico
Not much here: My CP Blog!