Frequently Asked Questions
SDK

.NET/C#

3min

Watchdogs

If I set up the watchdog timer each time I run a command in my program is it using the same instance internally, recreating, or adding a completely new timer with duplicate callbacks?

 Setting up the watchdog stops the current instance (stops the timers), creates a new watchdog instance and starts it again.

If I use the watchdog timer for floating and non-floating licenses, is there any need for me to call license.Check (online), since it seems like internally the timer is checking online and will throw all exceptions?

Watchdog, while running, will periodically call the Check method on the license object it was run on, regardless if the license is floating or not.

license.Register and license.Check

Do 'license.Register' and license.Check have same functionality?

Yes, they are doing exactly the same thing

Updated 22 May 2024
Doc contributor
Doc contributor
Doc contributor
Did this page help you?