LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict my application to run n number of days.

Solved!
Go to solution
I am trying to write Licence manager using LabVIEW .I want to restrict my application to run n number of days.My problem is how to do restrict the user if he changed the data and time of the PC.
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 1 of 10
(3,114 Views)

Hi Baji,

there are different possibilities with different complexity. In your case you can store to the starting date, also the current date. If somone change it back you can check it, because it lies behind the last current date.

 

Mike

0 Kudos
Message 2 of 10
(3,110 Views)

Thanks for the quick reply, can u tell me what are the different possibilities with different complexity.

Take this case. I installed the application a month before and I launching the application after a month with manually changing my date to previous month.

I restricted my application by time i have no problems in that.

Message Edited by Baji on 06-24-2009 04:54 PM
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 3 of 10
(3,094 Views)

Hi Baji,

you can use a dongle or an external server to unlock your program.

 

I think your described case is ok, because then then person never used it. So why would you block a software which is only istalled but never started? I think it's ok if the time starts running with the first start of your program.

 

Mike

0 Kudos
Message 4 of 10
(3,088 Views)

He can daily run the application with modifying the system date to the application installed date,so he gets infinity days validity. by restricting the time he can run software for limited period but depends on it expired how frequently he using.

my aim is to locks the software if n number of days completed.without any dongles or external servers. Ideas are appreciated.

Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 5 of 10
(3,083 Views)

In my opinioun a dongle is the best solution. If the software is popular enough somebody will crack it anyway, even with dongle. Examples are Microsoft software and Labview, and almost all CAD/ECAD software. And if you restrict it to sa 30 days. It is not so hard to go around this, if the user choose to be dishonest  



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 6 of 10
(3,081 Views)
By using dongles can i restrict my application to n Number of days?,even if i changed my system date manually.Smiley Wink
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 7 of 10
(3,073 Views)

Hi Baji,

not if you use two buffers. One for the installation date and one for the last used date+time(inkl. seconds). At every start you check if the current date lies behind the last used date+time.

 

But as Coq rouge already said, you can't make it unbreakable.

 

Mike

Message Edited by MikeS81 on 06-24-2009 01:49 PM
0 Kudos
Message 8 of 10
(3,071 Views)
How about a smartcard? This could open for some fancy license management. It is perhaps also cheaper than a dongle


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 9 of 10
(3,067 Views)
Solution
Accepted by topic author Baji

Thanks Guys.

From the above conversations i am concluding that,

1)We cannot strictly restrict the user for n number of days.

2)Dongles and Smartcards are usefull for effective Licence mangement.

Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 10 of 10
(3,057 Views)