Expiring app
-
i just developed a C# windows application, before sending it to the customer,just want to expire the application after 60 days!!!! Can you help me? :confused::confused::confused::confused:
My small attempt...
-
i just developed a C# windows application, before sending it to the customer,just want to expire the application after 60 days!!!! Can you help me? :confused::confused::confused::confused:
My small attempt...
When your application starts first time, create a file and store the started date inside that. For more security you can store that as encrypted. Read this file when ever your application starts. if it reaches more than 60 day's show expired message. Alternatively you can keep this in Windows registry also.
-
When your application starts first time, create a file and store the started date inside that. For more security you can store that as encrypted. Read this file when ever your application starts. if it reaches more than 60 day's show expired message. Alternatively you can keep this in Windows registry also.
The program needs a way to tell that it's the first time it runs, though... Otherwise, the user could just delete the file or registry key, and the program would create a new one, practically giving you 60 more days of testing.