LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

protection for demo software

dear sir,
 
i am using labview 7.0 with dsc module. Now  i had done coding according to my applicaton in softawre. I want to give my software exe cd to customer to observe the software. Now i want that the software exe will not run after 5 days from installation from his pc. After five days if he want to run the software he has to install the exe again. is it possible with labview. If yes please help me.
 
 
falgandha
0 Kudos
Message 1 of 3
(3,558 Views)
Hi falgandha,

why do you want to punish your customer by 'installing an exe again' - after just 5 days??? I wouldn't buy software when I'm forced to install this software again and again...

Make a passwort requester, give them a password with encoded start/end date, store this in the registry. You can also store other informations in the registry (like system time at program start, number of program starts etc.) to allow better 'security' checks 🙂
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(3,552 Views)
Hello,

A simple protection it's by creating a file with a strange name on c:\windows. In this file you put the installation date and then every time you run the .exe, the first thing that you do it's checking how many days passed. If the TotalDays > 5 then exit.

All depends on the level of protection.

Other ideas are:
- use one entry on the registry
- verify if the user changes the clock (if don't do that he can always move back and use it)

If you wanna prevent the user rewind the clock, when you create the file with initialDate, create another with currentDate. Then every time you run the exe you verify this date. If the user moved back this date you exit the program. If this value it's greater than the older you should update.
Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 3 of 3
(3,551 Views)