how to make trial version of win and web application in .Net technology

General Tech Technology & Software 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

how to develop a trial version of window or web application in dotnet technology. as a result user can use that windows or web apps for certain day and also will not be able to use after resetting his system clock.how could make this type of trial version both in window and web. please give me the concept in detail.

thanks

profilepic.png
manpreet 2 years ago

The usual way is a registry key, or set of same. You keep track of the install date, and once it's passed without the user entering a key, you set a flag saying the time's up. You could also track individual uses; after 30 "starts" it gets locked (preventing workarounds involving changing the system time). A knowledgeable person can always hack such an implementation because they can access and edit their registry, but it'll keep 95% of your users honest.

The most foolproof way requires a web service, which means the app requires an Internet connection to run (no problem if it does anyway, but you might have trouble convincing your users that a notepad app need internet access). The app will call the service on installation to say it's been installed on the current date with a given license key (or a default "trial" key) and ask for a GUID identifying the installation. Then, each startup, it will ask another service if it's allowed to run. If you expect your app to be popular, you'll need some serious hardware behind the scenes as the service will be hit every time any installation starts up.

 

0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.