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

Class that represents License status and provides info methods like IsActive and IsEnabled. More...

Inheritance diagram for LicenseSpring.LicenseStatus:
LicenseSpring.ILicenseStatus

Public Member Functions

bool IsActive ()
 Method for checking license Active/Inactive state More...
 
bool IsDeleted ()
 Method for checking if license was deleted from LicenseSpring backend More...
 
bool IsEnabled ()
 Method for checking license Enabled/Disabled state More...
 
bool IsExpired ()
 Method that returns cached value is license expired or not More...
 
bool IsOk ()
 Helper method for checking local license status More...
 
 LicenseStatus ()
 Default constructor
 
override string ToString ()
 License status string, override Object.ToString More...
 
bool IsActive ()
 Method for checking license Active/Inactive state More...
 
bool IsDeleted ()
 Method for checking if license was deleted from LicenseSpring backend More...
 
bool IsEnabled ()
 Method for checking license Enabled/Disabled state More...
 
bool IsExpired ()
 Method that returns cached value is license expired or not More...
 
bool IsOk ()
 Helper method for checking local license status More...
 
string ToString ()
 License status string, override Object.ToString More...
 

Detailed Description

Class that represents License status and provides info methods like IsActive and IsEnabled.

Please note that license can be disabled and expired at the same time for example.

Member Function Documentation

◆ IsActive()

bool LicenseSpring.LicenseStatus.IsActive ( )

Method for checking license Active/Inactive state

Implements LicenseSpring.ILicenseStatus.

◆ IsDeleted()

bool LicenseSpring.LicenseStatus.IsDeleted ( )

Method for checking if license was deleted from LicenseSpring backend

Implements LicenseSpring.ILicenseStatus.

◆ IsEnabled()

bool LicenseSpring.LicenseStatus.IsEnabled ( )

Method for checking license Enabled/Disabled state

Implements LicenseSpring.ILicenseStatus.

◆ IsExpired()

bool LicenseSpring.LicenseStatus.IsExpired ( )

Method that returns cached value is license expired or not

Implements LicenseSpring.ILicenseStatus.

◆ IsOk()

bool LicenseSpring.LicenseStatus.IsOk ( )

Helper method for checking local license status

Implements LicenseSpring.ILicenseStatus.

◆ ToString()

override string LicenseSpring.LicenseStatus.ToString ( )

License status string, override Object.ToString

Implements LicenseSpring.ILicenseStatus.


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