![]() |
LicenseSpring Management .Net SDK 1.10.1
Easily add Software Licensing to your application
|
Base class for services. Implements IService
interface.
More...
Public Member Functions | |||||||
void | Initialize (ManagementConfiguration configuration) | ||||||
Initialize management service with given configuration.
| |||||||
bool | IsInitialized () | ||||||
Check whether management service has been initialized.
| |||||||
bool | IsOnline (bool throwExceptions=false) | ||||||
Helper method, it checks connection to the LicenseSpring platform.
| |||||||
Base class for services. Implements IService
interface.
void LicenseSpring.BaseService.Initialize | ( | ManagementConfiguration | configuration | ) |
Initialize management service with given configuration.
configuration | ManagementConfiguration object to use |
System.ArgumentNullException | Thrown when configuration is null |
Implements LicenseSpring.IService.
bool LicenseSpring.BaseService.IsInitialized | ( | ) |
Check whether management service has been initialized.
Implements LicenseSpring.IService.
bool LicenseSpring.BaseService.IsOnline | ( | bool | throwExceptions = false | ) |
Helper method, it checks connection to the LicenseSpring platform.
throwExceptions | Boolean value indicating whether this method should throw exceptions, by default it's false. |
System.InvalidOperationException | Thrown when license manager is not initialized |
LicenseSpring.NetworkException | In case of network errors, e.g. no Internet connection or operation timed out. |
Implements LicenseSpring.IService.