How to detect when client delete license file desktop app ?

ahmedsa

Member
Joined
Jan 22, 2014
Messages
6
Programming Experience
1-3
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
 

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
5,948
Location
Chesapeake, VA
Programming Experience
10+

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
5,948
Location
Chesapeake, VA
Programming Experience
10+
Moving to more appropriate forum...
 

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
5,948
Location
Chesapeake, VA
Programming Experience
10+

ProtekNickz

Member
Joined
Jan 13, 2022
Messages
14
Programming Experience
5-10
My Short Answer is, Write it in to a Licence.dll and require the main form when it loads that is requires the dll and reads required License with in the DLL, so if the DLL is deleted then the Program Won't Load as you can have some of the main functions in their also like core elements and if the License Doesn't match the Main programs license well program won't load, theirs many ways to achieve this, Just Imaging it up and then try to code it.

Yours ProtekNickz :).
 

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
5,948
Location
Chesapeake, VA
Programming Experience
10+
Write it in to a Licence.dll
How will that work if the DLL is AuthentiCode signed? Won't modifying the file break the signature? Or do people not sign their binaries anymore when releasing to market?
 
Top Bottom