| LicenseSpring .Net SDK 7.42.0 Easily add Software Licensing to your application

Loading...
Searching...
No Matches
Properties | List of all members
LicenseSpring.ILicenseWatchdogSettings Interface Reference

LicenseWatchdogSettings interface. More...

Inheritance diagram for LicenseSpring.ILicenseWatchdogSettings:

## Properties
bool | HandleNoInternet`[get]`
| Indicates if you want to run license checks more often if NetworkException or LicenseServerException encountered.
bool | IncludeExpiredFeatures`[get, set]`
| If set to true updates local license data to include expired license features.
uint | NoInternetTimeout`[get]`
| Custom watchdog timeout in seconds for the case if NetworkException or LicenseServerException encountered.
bool | RunCallbackOnEveryCheck`[get]`
| Indicates if you want to run the callback after every check.
uint | Timeout`[get]`
| Timeout in minutes, 0 means use default.
LicenseWatchdogCallback | WatchdogCallback`[get]`
| This function will be called back in case of errors or after every check.

## Detailed Description

LicenseWatchdogSettings interface.

## Property Documentation

## ◆ HandleNoInternet

bool LicenseSpring.ILicenseWatchdogSettings.HandleNoInternet
| get

Indicates if you want to run license checks more often if NetworkException or LicenseServerException encountered.

The default value is false.
If set to true, the checks will run every minute. Use NoInternetTimeout to set custom timeout for these checks.
The watchdog will resume checks with the normal timeout after a successful license check.
The watchdog will not stop after NetworkException or LicenseServerException and will not require calling License.ResumeLicenseWatchdog.

Implemented in LicenseSpring.LicenseWatchdogSettings.

## ◆ IncludeExpiredFeatures

bool LicenseSpring.ILicenseWatchdogSettings.IncludeExpiredFeatures
| get set

If set to true updates local license data to include expired license features.

Implemented in LicenseSpring.LicenseWatchdogSettings.

## ◆ NoInternetTimeout

uint LicenseSpring.ILicenseWatchdogSettings.NoInternetTimeout
| get

Custom watchdog timeout in seconds for the case if NetworkException or LicenseServerException encountered.

Meaningful only if HandleNoInternet is set to true.
By default the checks will run every minute.
The minimum value is 15 seconds.
Watchdog will resume checks with the normal timeout after a successful license check.

Implemented in LicenseSpring.LicenseWatchdogSettings.

## ◆ RunCallbackOnEveryCheck

bool LicenseSpring.ILicenseWatchdogSettings.RunCallbackOnEveryCheck
| get

Indicates if you want to run the callback after every check.

The default value is false, callback will run only in case of errors.
WatchdogCallback must handle null value of the argument if RunOnEveryCheck is set to true.

Implemented in LicenseSpring.LicenseWatchdogSettings.

## ◆ Timeout

uint LicenseSpring.ILicenseWatchdogSettings.Timeout
| get

Timeout in minutes, 0 means use default.

Default value is 0.
By default the timeout will be set to FloatingTimeout if the license is floating.
The default timeout for not floating license is 1 hour.

Implemented in LicenseSpring.LicenseWatchdogSettings.

## ◆ WatchdogCallback

LicenseWatchdogCallback LicenseSpring.ILicenseWatchdogSettings.WatchdogCallback
| get

This function will be called back in case of errors or after every check.

Implemented in LicenseSpring.LicenseWatchdogSettings.

The documentation for this interface was generated from the following file:

- LicenseWatchdogSettings.cs