restrict project to run only 20 times
-
hai friends i developed a software thru vb.net windows application now i will give it to clients for trial but it should run only for 20 times if the software is loaded into another system then it should not run if the count is 20 plz help me thanks in advance vijay
-
hai friends i developed a software thru vb.net windows application now i will give it to clients for trial but it should run only for 20 times if the software is loaded into another system then it should not run if the count is 20 plz help me thanks in advance vijay
you can store the number of run in database. on project startup , check whether count is 20,if yes then close the application otherwise increment the number of run by 1. hope this helps
Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
-
you can store the number of run in database. on project startup , check whether count is 20,if yes then close the application otherwise increment the number of run by 1. hope this helps
Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
hai rupesh is there any other option other than "storing count in database" thanks for u r reply vijay
-
hai rupesh is there any other option other than "storing count in database" thanks for u r reply vijay
-
hai friends i developed a software thru vb.net windows application now i will give it to clients for trial but it should run only for 20 times if the software is loaded into another system then it should not run if the count is 20 plz help me thanks in advance vijay
vijaylumar wrote:
if the software is loaded into another system then it should not run
That's not possible. Each machine will store the number of times run, if you write code to do it. If the user finds how you stored it, they can easily reset it. A new install can't tell if the same user has run it on another machine. The only way to do that, is to make the machine require the internet. Then you can give a license code for your demo, have it use a webservice to store how often it's been run and to check every time the user runs it. Of course, given it's a .NET program, users can decompile your code, remove the check and recompile it.
Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
-
you can store the number of run in database. on project startup , check whether count is 20,if yes then close the application otherwise increment the number of run by 1. hope this helps
Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
That would be a bit drastic, wouldnt it? A database just for one number??
Lloyd J. Atkinson "Logic will get you from A to B, but imagination will take you everywhere" - ALbert Einstein I look at Microsoft, and turn to my poster on the wall saying: "Bang head here in case of stress".