1
Answer

how to make make secure licensing for my c# windows applicat

hamdi ayadi

hamdi ayadi

4y
827
1
I'm beginner in the developement and I just developed a windowns app with c# and trying to sell it , but I don't know how to do all the licensing stuff , can someone explain to me the step by step how to do this with the way that it secure ? for example if the person change the system date then expiration date won't change or if he reinstall the app the trial won't start from beginning.
 
I read many articles in internet but it mostly just a code part about lisence but I need to understand what I should do step by step , and with the proper code , thank you 
Answers (1)
1
Munib Butt

Munib Butt

113 16.7k 3.5m 4y
One simple solution could be to use a cloud web service to maintain the trial dates and licence validation. When the application is first installed you write the serial number and expiry date (Valid licence or trial version) via a web service on a cloud store. Now each time the app runs, make a call via that web service and validate the dates (current date and expiry date) from the cloud and also the serial number. Hence, any changes made on the local machine will have no affect on the application's licence or expiry date.