Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more:
I working on desktop application windows desktop made by csharp

I make license file have period of license as 30 day and start date and computer mac address

my issue is clients delete license file so desktop app start as first day after delete this file

so how to prevent users from delete license file

or with another way how to make my app detect that file created before and deleted so can't open my app

What I have tried:

How to detect when client delete license file desktop app ?
Posted
Updated 21-Oct-21 2:31am

1 solution

Check for the presence of the file in the start up of your application. If the licence file is not present then abort your program.

There are some articles on Code Project that might help you .. Search[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900