![]() |
LicenseSpring .Net SDK 7.22.0
Easily add Software Licensing to your application
|
Class for interaction with offline Floating server. More...
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... | |
![]() | |
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... | |
![]() | |
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 | |
![]() | |
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... | |
![]() | |
string | DataLocation [get, set] |
BaseManager.DataLocation | |
string | LicenseFileName [get, set] |
BaseManager.LicenseFileName | |
Class for interaction with offline Floating server.
LicenseSpring.FloatingClient.FloatingClient | ( | ) |
Constructor of FloatingClient
You can rather use singleton instance by GetInstance or create object directly by this constructor.
|
static |
Get singleton FloatingClient instance
Get license information for configured product
Implements LicenseSpring.IFloatingClient.
IFloatingServerInfo LicenseSpring.FloatingClient.GetServerInfo | ( | ) |
Get Floating Server information (settings)
Implements LicenseSpring.IFloatingClient.
bool LicenseSpring.FloatingClient.IsOnline | ( | bool | throwExceptions = false | ) |
Helper method, it checks connection to the Floating server
Implements LicenseSpring.IFloatingClient.
Register client with given id
Implements LicenseSpring.IFloatingClient.
bool LicenseSpring.FloatingClient.Unregister | ( | string | id, |
LicenseID | licenseId = null |
||
) |
Unregister client with given id
Implements LicenseSpring.IFloatingClient.