LicenseSpring Management .Net SDK 1.10.1
Easily add Software Licensing to your application
Loading...
Searching...
No Matches
LicenseSpring.IService Interface Reference

Service interface. More...

Inheritance diagram for LicenseSpring.IService:
LicenseSpring.BaseService LicenseSpring.ICustomerService LicenseSpring.IDeviceService LicenseSpring.ILicenseService LicenseSpring.IOrderService LicenseSpring.IProductService LicenseSpring.CustomerService LicenseSpring.DeviceService LicenseSpring.LicenseService LicenseSpring.OrderService LicenseSpring.ProductService LicenseSpring.CustomerService LicenseSpring.DeviceService LicenseSpring.LicenseService LicenseSpring.OrderService LicenseSpring.ProductService

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.
 

Detailed Description

Service interface.

Member Function Documentation

◆ Initialize()

void LicenseSpring.IService.Initialize ( ManagementConfiguration  configuration)

Initialize management service with given configuration.

Parameters
configurationManagementConfiguration object to use
Exceptions
System.ArgumentNullExceptionThrown when configuration is null

Implemented in LicenseSpring.BaseService.

◆ IsInitialized()

bool LicenseSpring.IService.IsInitialized ( )

Check whether management service has been initialized.

Returns
True if management service has been initialized and ready to use or false otherwise

Implemented in LicenseSpring.BaseService.

◆ IsOnline()

bool LicenseSpring.IService.IsOnline ( bool  throwExceptions = false)

Helper method, it checks connection to the LicenseSpring platform.

Parameters
throwExceptionsBoolean value indicating whether this method should throw exceptions, by default it's false.
Returns
True if SDK is able to connect to the LicenseSpring platform and false otherwise.
Exceptions
System.InvalidOperationExceptionThrown when license manager is not initialized
LicenseSpring.NetworkExceptionIn case of network errors, e.g. no Internet connection or operation timed out.

Implemented in LicenseSpring.BaseService.


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