![]() |
LicenseSpring Management .Net SDK 1.15.0
Easily add Software Licensing to your application
|
Service 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. | |
Service interface.
| void LicenseSpring.IService.Initialize | ( | ManagementConfiguration | configuration | ) |
Initialize management service with given configuration.
| configuration | ManagementConfiguration object to use |
| System.ArgumentNullException | Thrown when configuration is null |
Implemented in LicenseSpring.BaseService.
| bool LicenseSpring.IService.IsInitialized | ( | ) |
Check whether management service has been initialized.
Implemented in LicenseSpring.BaseService.
| bool LicenseSpring.IService.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. |
Implemented in LicenseSpring.BaseService.