Making Trail Software
-
Hi, I want to make a software for trail use of 30 days or 15 days etc. Please give me an idea. Thanks,
They way I would do it is, after you install your program, store the date that your program was installed for the first time, and use
DateTime
function to add the days since ran. Then, if your program has been installed for 30 days, set a Boolean value that locks the interface (or however you want to discontinue access to your program). -
They way I would do it is, after you install your program, store the date that your program was installed for the first time, and use
DateTime
function to add the days since ran. Then, if your program has been installed for 30 days, set a Boolean value that locks the interface (or however you want to discontinue access to your program).Where would you store the values? Usual user settings locations would be easy enough to find eg: isolated storage. A key in the registry? You could create an algorithm for generating a key in the registry and just store the date with no other identifying informaiton. And then just leave the key there until a full version was installed.
-
Where would you store the values? Usual user settings locations would be easy enough to find eg: isolated storage. A key in the registry? You could create an algorithm for generating a key in the registry and just store the date with no other identifying informaiton. And then just leave the key there until a full version was installed.
Leah_Garrett wrote:
Where would you store the values?
In the program. Every time it starts up, it checks to see if it has been 30 days since it's been installed.
-
Leah_Garrett wrote:
Where would you store the values?
In the program. Every time it starts up, it checks to see if it has been 30 days since it's been installed.
MatrixCoder wrote:
In the program.
You mean as part of the binary? Have you got code samples or references?
-
They way I would do it is, after you install your program, store the date that your program was installed for the first time, and use
DateTime
function to add the days since ran. Then, if your program has been installed for 30 days, set a Boolean value that locks the interface (or however you want to discontinue access to your program).Hi, I have already tries this but there is one loose point. If a user not changed his system date and runs our software at the same date in which date it installed, No way to increase run days. Think about it and give me any more idea about this. Thanks for your reply.