LicenseSpring .Net SDK 7.22.0
Easily add Software Licensing to your application
LicenseSpring.LicenseWatchdogSettings Class Reference

Class that holds settings of license watchdog. More...

Inheritance diagram for LicenseSpring.LicenseWatchdogSettings:
LicenseSpring.ILicenseWatchdogSettings

Public Member Functions

 LicenseWatchdogSettings ()
 LicenseWatchdogSettings default constructor
 
 LicenseWatchdogSettings (LicenseWatchdogCallback callback, uint timeout=0)
 LicenseWatchdogSettings constructor More...
 

Properties

bool HandleNoInternet [get, set]
 Indicates if you want to run license checks more often if NetworkException or LicenseServerException encountered. More...
 
uint NoInternetTimeout [get, set]
 Custom watchdog timeout in seconds for the case if NetworkException or LicenseServerException encountered. More...
 
bool RunCallbackOnEveryCheck [get, set]
 Indicates if you want to run the callback after every check. More...
 
uint Timeout [get, set]
 Timeout in minutes, 0 means use default. More...
 
LicenseWatchdogCallback WatchdogCallback [get, set]
 This function will be called back in case of errors or after every check. More...
 
- Properties inherited from LicenseSpring.ILicenseWatchdogSettings
bool HandleNoInternet [get]
 Indicates if you want to run license checks more often if NetworkException or LicenseServerException encountered. More...
 
uint NoInternetTimeout [get]
 Custom watchdog timeout in seconds for the case if NetworkException or LicenseServerException encountered. More...
 
bool RunCallbackOnEveryCheck [get]
 Indicates if you want to run the callback after every check. More...
 
uint Timeout [get]
 Timeout in minutes, 0 means use default. More...
 
LicenseWatchdogCallback WatchdogCallback [get]
 This function will be called back in case of errors or after every check. More...
 

Detailed Description

Class that holds settings of license watchdog.

See ILicense.SetupLicenseWatchdog

Constructor & Destructor Documentation

◆ LicenseWatchdogSettings()

LicenseSpring.LicenseWatchdogSettings.LicenseWatchdogSettings ( LicenseWatchdogCallback  callback,
uint  timeout = 0 
)

LicenseWatchdogSettings constructor

Parameters
callbackThis function will be called back in case of errors or after every check
timeoutTimeout in minutes, 0 means use default

Property Documentation

◆ HandleNoInternet

bool LicenseSpring.LicenseWatchdogSettings.HandleNoInternet
getset

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

Implements LicenseSpring.ILicenseWatchdogSettings.

◆ NoInternetTimeout

uint LicenseSpring.LicenseWatchdogSettings.NoInternetTimeout
getset

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

Implements LicenseSpring.ILicenseWatchdogSettings.

◆ RunCallbackOnEveryCheck

bool LicenseSpring.LicenseWatchdogSettings.RunCallbackOnEveryCheck
getset

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

Implements LicenseSpring.ILicenseWatchdogSettings.

◆ Timeout

uint LicenseSpring.LicenseWatchdogSettings.Timeout
getset

Timeout in minutes, 0 means use default.

Implements LicenseSpring.ILicenseWatchdogSettings.

◆ WatchdogCallback

LicenseWatchdogCallback LicenseSpring.LicenseWatchdogSettings.WatchdogCallback
getset

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

Implements LicenseSpring.ILicenseWatchdogSettings.


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