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

Class for interaction with offline Floating server. More...

Inheritance diagram for LicenseSpring.FloatingClient:
LicenseSpring.BaseManager LicenseSpring.IFloatingClient

Public Member Functions

 FloatingClient ()
 Constructor of FloatingClient More...
 
ILicense GetLicenseInfo (LicenseID licenseId=null)
 Get license information for configured product More...
 
IFloatingServerInfo GetServerInfo ()
 Get Floating Server information (settings) More...
 
bool IsOnline (bool throwExceptions=false)
 Helper method, it checks connection to the Floating server More...
 
ILicense Register (string id, LicenseID licenseId=null)
 Register client with given id More...
 
bool Unregister (string id, LicenseID licenseId=null)
 Unregister client with given id More...
 
- Public Member Functions inherited from LicenseSpring.BaseManager
void ClearLocalStorage ()
 Remove license file, license log if present and folders created by the SDK More...
 
ILicense CurrentLicense ()
 Load license from local storage (if not yet loaded) More...
 
void Initialize (Configuration configuration, ILicenseStorage storage=null)
 Initialize license manager with given configuration More...
 
bool IsInitialized ()
 Check whether license manager has been initialized More...
 
string LicenseFilePath ()
 Returns full path to the license file, meaningful only if LicenseFileStorage (or derived) is used More...
 
ILicense ReloadLicense ()
 Resets current license and loads it again from local storage More...
 
- Public Member Functions inherited from LicenseSpring.IFloatingClient
void ClearLocalStorage ()
 BaseManager.ClearLocalStorage
 
ILicense CurrentLicense ()
 BaseManager.CurrentLicense
 
ILicense GetLicenseInfo (LicenseID licenseID=null)
 Get license information for configured product More...
 
IFloatingServerInfo GetServerInfo ()
 Get Floating Server information (settings) More...
 
void Initialize (Configuration configuration, ILicenseStorage storage=null)
 BaseManager.Initialize
 
bool IsInitialized ()
 BaseManager.IsInitialized
 
bool IsOnline (bool throwExceptions=false)
 Helper method, it checks connection to the Floating server More...
 
string LicenseFilePath ()
 BaseManager.LicenseFilePath
 
ILicense Register (string id, LicenseID licenseID=null)
 Register client with given id More...
 
ILicense ReloadLicense ()
 BaseManager.ReloadLicense
 
bool Unregister (string id, LicenseID licenseID=null)
 Unregister client with given id More...
 

Static Public Member Functions

static IFloatingClient GetInstance ()
 Get singleton FloatingClient instance More...
 

Additional Inherited Members

- Properties inherited from LicenseSpring.BaseManager
string DataLocation [get, set]
 Folder path where LicenseSpring data is being stored More...
 
string LicenseFileName [get, set]
 License filename with extension (optional), meaningful only if LicenseFileStorage is used More...
 
- Properties inherited from LicenseSpring.IFloatingClient
string DataLocation [get, set]
 BaseManager.DataLocation
 
string LicenseFileName [get, set]
 BaseManager.LicenseFileName
 

Detailed Description

Class for interaction with offline Floating server.

See https://docs.licensespring.com/docs/floating-server

Constructor & Destructor Documentation

◆ FloatingClient()

LicenseSpring.FloatingClient.FloatingClient ( )

Constructor of FloatingClient

You can rather use singleton instance by GetInstance or create object directly by this constructor.

Member Function Documentation

◆ GetInstance()

static IFloatingClient LicenseSpring.FloatingClient.GetInstance ( )
static

Get singleton FloatingClient instance

Returns
FloatingClient instance

◆ GetLicenseInfo()

ILicense LicenseSpring.FloatingClient.GetLicenseInfo ( LicenseID  licenseId = null)

Get license information for configured product

Implements LicenseSpring.IFloatingClient.

◆ GetServerInfo()

IFloatingServerInfo LicenseSpring.FloatingClient.GetServerInfo ( )

Get Floating Server information (settings)

Implements LicenseSpring.IFloatingClient.

◆ IsOnline()

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

Helper method, it checks connection to the Floating server

Implements LicenseSpring.IFloatingClient.

◆ Register()

ILicense LicenseSpring.FloatingClient.Register ( string  id,
LicenseID  licenseId = null 
)

Register client with given id

Implements LicenseSpring.IFloatingClient.

◆ Unregister()

bool LicenseSpring.FloatingClient.Unregister ( string  id,
LicenseID  licenseId = null 
)

Unregister client with given id

Implements LicenseSpring.IFloatingClient.


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