![]() |
LicenseSpring C++ SDK
7.31.0
Easily add Software Licensing to your application
|
This class encapsulates functionality of the both LicenseManager and the License.
.
More...
#include <LicenseSpring/LicenseHandler.h>
Public Member Functions | |
LicenseHandler (Configuration::ptr_t config=nullptr, LicenseStorage::ptr_t storage=nullptr) | |
Constructor for LicenseHandler. More... | |
LicenseHandler (const LicenseHandler &)=delete | |
LicenseHandler & | operator= (const LicenseHandler &)=delete |
~LicenseHandler () | |
Destructor for LicenseHandler. More... | |
void | reconfigure (Configuration::ptr_t config, LicenseStorage::ptr_t storage=nullptr) |
Configuration::ptr_t | currentConfig () const |
const std::wstring & | dataLocation () const |
void | setDataLocation (const std::wstring &path) |
std::wstring | licenseFileName () const |
void | setLicenseFileName (const std::wstring &name) |
std::wstring | licenseFilePath () const |
bool | isOnline () const |
ProductDetails::ptr_t | getProductDetails (bool includeLatestVersion=false) const |
const LicenseID & | getTrialLicense (Customer::ptr_t user=nullptr, const std::string &licensePolicy=std::string()) const |
const LicenseID & | getTrialLicense (const std::string &userEmail) const |
const std::string & | getSSOUrl (const std::string &accountCode=std::string(), bool useAuthCode=true) |
const std::string & | getAirGapActivationCode (const std::string &initializationCode, const std::string &licenseKey) |
const std::string & | getAirGapDeactivationCode (const std::string &initializationCode) |
void | activateAirGapLicense (const std::string &confirmationCode, const std::wstring &activationResponseFile, const std::string &licenseKey, uint32_t policyId) |
void | deactivateAirGapLicense (const std::string &confirmationCode) |
std::vector< LicenseUser::ptr_t > | getLicenseUsers (const Customer &customer) |
std::vector< LicenseUser::ptr_t > | getLicenseUsers (const std::string &customerEmail) |
void | activateLicense (const LicenseID &licenseID) |
void | activateLicense (const std::string &authData, const std::string &accountCode=std::string(), bool useAuthCode=true) |
bool | deactivateLicense () |
bool | changePassword (const std::string &password, const std::string &newPassword, const std::string &user=std::string()) |
void | relinkLicense (DeviceIDAlgorithm deviceIdAlgorithm, const std::string &userPassword=std::string()) |
InstallationFile::ptr_t | checkLicense (const InstallFileFilter &filter=InstallFileFilter(), bool includeExpiredFeatures=false) |
const std::vector< std::string > & | getVersionList (const LicenseID &licenseID=LicenseID(), const InstallFileFilter &filter=InstallFileFilter()) |
InstallationFile::ptr_t | getInstallFile (const LicenseID &licenseID=LicenseID(), const std::string &version=std::string(), const InstallFileFilter &filter=InstallFileFilter()) |
void | sendDeviceVariables () |
std::vector< DeviceVariable > | getDeviceVariables (bool getFromBackend=false) |
void | syncConsumption (int32_t requestOverage=-1) |
void | syncFeatureConsumption (const std::string &featureCode=std::string()) |
void | registerFloatingLicense () |
void | borrowFloatingLicense (uint32_t hours, uint32_t days=0) |
void | borrowFloatingLicense (const std::string &borrowEndDateTime=std::string()) |
void | releaseFloatingLicense () |
void | registerFloatingFeature (const std::string &featureCode, bool addToWatchdog=true) |
void | releaseFloatingFeature (const std::string &featureCode) |
bool | isInitialized () const |
bool | isLicenseExists () const |
void | updateConsumption (int32_t value=1, bool saveLicense=true) |
void | updateFeatureConsumption (const std::string &featureCode, int32_t value=1, bool saveLicense=true) |
void | checkLicenseLocal () |
void | clearLocalStorage () |
void | addUserData (const CustomField &data, bool saveLicense=true) |
void | removeUserData (const std::string &key=std::string(), bool saveLicense=true) |
const std::vector< CustomField > & | userData () |
std::string | userData (const std::string &key) |
bool | isAutoReleaseSet () const |
void | setAutoRelease (bool autoRelease) |
void | setupLicenseWatchdog (LicenseWatchdogCallback callback, uint32_t timeout=0) |
void | resumeLicenseWatchdog () |
void | stopLicenseWatchdog () |
void | setupFeatureWatchdog (LicenseWatchdogCallback callback, uint32_t timeout=0) |
void | resumeFeatureWatchdog () |
void | stopFeatureWatchdog () |
void | addDeviceVariable (const std::string &name, const std::string &value, bool saveLicense=true) |
void | addDeviceVariable (const DeviceVariable &variable, bool saveLicense=true) |
void | addDeviceVariables (const std::vector< DeviceVariable > &variables) |
DeviceVariable | deviceVariable (const std::string &name) const |
const std::string & | deviceVariableValue (const std::string &name) const |
const std::wstring & | createOfflineActivationFile (const LicenseID &licenseID, const std::wstring &activationRequestFile=std::wstring()) |
void | activateLicenseOffline (const std::wstring &activationResponseFile=std::wstring()) |
const std::wstring & | deactivateLicenseOffline (const std::wstring &deactivationRequestFile=std::wstring()) |
bool | updateOffline (const std::wstring &path=std::wstring(), bool resetConsumption=false) |
bool | isLicenseValid () const |
bool | isLicenseTrial () const |
bool | isLicenseAirGapped () const |
bool | isLicenseActive () const |
bool | isLicenseEnabled () const |
bool | isLicenseExpired () const |
bool | isLicenseMaintenanceExpired () const |
bool | isLicenseOfflineActivated () const |
bool | isLicenseFloating () const |
bool | isLicenseBorrowed () const |
bool | isLicenseOveragesAllowed () const |
bool | isLicenseUnlimitedConsumptionAllowed () const |
bool | isLicenseVMAllowed () const |
bool | isSubscriptionGracePeriodStarted () const |
bool | isGracePeriodStarted () const |
tm | gracePeriodEndDateTime () const |
tm | gracePeriodEndDateTimeUTC () const |
int | gracePeriodHoursRemaining () const |
uint32_t | getLicenseTrialPeriod () const |
const LicenseID & | getLicenseID () const |
const std::string & | getLicenseKey () const |
const std::string & | getLicenseUser () const |
const std::string & | getLicenseStatusStr () const |
const std::string & | getLicenseStartDate () const |
const std::string & | getLicenseMetadata () const |
LicenseType | getLicenseType () const |
tm | getLicenseExpiryDate () const |
tm | getLicenseExpiryDateUtc () const |
tm | getLicenseMaintenancePeriod () const |
tm | getLicenseMaintenancePeriodUtc () const |
tm | getLicenseLastCheckDate () const |
tm | getLicenseLastCheckDateUtc () const |
tm | getLicenseFloatingEndDateTime () const |
tm | getLicenseFloatingEndDateTimeUtc () const |
int | getDaysRemaining () const |
int | getMaintenanceDaysRemaining () const |
int | getDaysPassedSinceLastCheck () const |
uint32_t | getSubscriptionLicenseGracePeriod () const |
tm | validityWithGracePeriod () const |
tm | validityWithGracePeriodUtc () const |
const Customer & | getLicenseOwner () const |
LicenseUser::ptr_t | getLicenseUserPtr () const |
bool | hasLicenseFeatures () const |
const LicenseFeature & | getLicenseFeature (const std::string &featureCode) const |
const std::vector< LicenseFeature > & | getLicenseFeatures () const |
bool | hasLicenseCustomFields () const |
const std::vector< CustomField > & | getLicenseCustomFields () const |
uint32_t | getLicenseTimesActivated () const |
uint32_t | getLicenseMaxActivations () const |
uint32_t | getLicenseTransferCount () const |
int32_t | getLicenseTransferLimit () const |
bool | isDeviceTransferAllowed () const |
bool | isDeviceTransferLimited () const |
uint32_t | getLicensePolicyId () const |
int32_t | getLicenseTotalConsumption () const |
int32_t | getLicenseMaxConsumption () const |
int32_t | getLicenseMaxOverages () const |
bool | isResetLicenseConsumptionEnabled () const |
ConsumptionPeriod | getLicenseConsumptionPeriod () const |
uint32_t | getLicenseFloatingTimeout () const |
uint32_t | getLicenseFloatingInUseCount () const |
uint32_t | getLicenseMaxFloatingUsers () const |
uint32_t | getMaxBorrowTime () const |
void | enableExceptions (bool enable) |
bool | isExceptionsEnabled () const |
bool | wasError () const |
LSErrorCode | getLastError () const |
const std::string & | getLastErrorMsg () const |
bool | isInitializationError () const |
bool | isInternalServerError () const |
bool | isNetworkTimeoutError () const |
bool | isNoInternetError () const |
bool | isActivationFailed () const |
bool | isLicenseExpiredError () const |
bool | isLicenseNotFoundError () const |
bool | isLicenseStateError () const |
bool | isHardwareIDError () const |
bool | isGeneralError () const |
bool | isLicenseFeatureError () const |
bool | canIgnoreError () const |
Static Public Member Functions | |
static LicenseHandler & | instance (bool globalInit=false) |
Get singleton object of LicenseHandler. More... | |
This class encapsulates functionality of the both LicenseManager and the License.
.
By default it is exceptions free, but you can enable exceptions.
It's up to you whether to use LicenseManager and License directly or use this class.
This class also useful for Unreal Engine clients.
Because it is free of memory access violation problems due to runtime conflicts with UE.
Definition at line 26 of file LicenseHandler.h.
LicenseSpring::LicenseHandler::LicenseHandler | ( | Configuration::ptr_t | config = nullptr , |
LicenseStorage::ptr_t | storage = nullptr |
||
) |
Constructor for LicenseHandler.
config | Your LicenseSpring configuration |
storage | Optional custom storage implementation for local license |
|
delete |
LicenseSpring::LicenseHandler::~LicenseHandler | ( | ) |
Destructor for LicenseHandler.
|
static |
Get singleton object of LicenseHandler.
globalInit | Indicates if curl global initialization should be done first. Set it to true for the first call if you use floating licensing in order to properly release floating license at the app exit. Otherwise this param can be safely ignored, as well as if you release floating license manualy. |
|
delete |
void LicenseSpring::LicenseHandler::reconfigure | ( | Configuration::ptr_t | config, |
LicenseStorage::ptr_t | storage = nullptr |
||
) |
Configuration::ptr_t LicenseSpring::LicenseHandler::currentConfig | ( | ) | const |
const std::wstring& LicenseSpring::LicenseHandler::dataLocation | ( | ) | const |
void LicenseSpring::LicenseHandler::setDataLocation | ( | const std::wstring & | path | ) |
std::wstring LicenseSpring::LicenseHandler::licenseFileName | ( | ) | const |
void LicenseSpring::LicenseHandler::setLicenseFileName | ( | const std::wstring & | name | ) |
std::wstring LicenseSpring::LicenseHandler::licenseFilePath | ( | ) | const |
bool LicenseSpring::LicenseHandler::isOnline | ( | ) | const |
ProductDetails::ptr_t LicenseSpring::LicenseHandler::getProductDetails | ( | bool | includeLatestVersion = false | ) | const |
const LicenseID& LicenseSpring::LicenseHandler::getTrialLicense | ( | Customer::ptr_t | user = nullptr , |
const std::string & | licensePolicy = std::string() |
||
) | const |
const LicenseID& LicenseSpring::LicenseHandler::getTrialLicense | ( | const std::string & | userEmail | ) | const |
const std::string& LicenseSpring::LicenseHandler::getSSOUrl | ( | const std::string & | accountCode = std::string() , |
bool | useAuthCode = true |
||
) |
const std::string& LicenseSpring::LicenseHandler::getAirGapActivationCode | ( | const std::string & | initializationCode, |
const std::string & | licenseKey | ||
) |
const std::string& LicenseSpring::LicenseHandler::getAirGapDeactivationCode | ( | const std::string & | initializationCode | ) |
void LicenseSpring::LicenseHandler::activateAirGapLicense | ( | const std::string & | confirmationCode, |
const std::wstring & | activationResponseFile, | ||
const std::string & | licenseKey, | ||
uint32_t | policyId | ||
) |
void LicenseSpring::LicenseHandler::deactivateAirGapLicense | ( | const std::string & | confirmationCode | ) |
std::vector<LicenseUser::ptr_t> LicenseSpring::LicenseHandler::getLicenseUsers | ( | const Customer & | customer | ) |
std::vector<LicenseUser::ptr_t> LicenseSpring::LicenseHandler::getLicenseUsers | ( | const std::string & | customerEmail | ) |
void LicenseSpring::LicenseHandler::activateLicense | ( | const LicenseID & | licenseID | ) |
void LicenseSpring::LicenseHandler::activateLicense | ( | const std::string & | authData, |
const std::string & | accountCode = std::string() , |
||
bool | useAuthCode = true |
||
) |
bool LicenseSpring::LicenseHandler::deactivateLicense | ( | ) |
bool LicenseSpring::LicenseHandler::changePassword | ( | const std::string & | password, |
const std::string & | newPassword, | ||
const std::string & | user = std::string() |
||
) |
void LicenseSpring::LicenseHandler::relinkLicense | ( | DeviceIDAlgorithm | deviceIdAlgorithm, |
const std::string & | userPassword = std::string() |
||
) |
InstallationFile::ptr_t LicenseSpring::LicenseHandler::checkLicense | ( | const InstallFileFilter & | filter = InstallFileFilter() , |
bool | includeExpiredFeatures = false |
||
) |
const std::vector<std::string>& LicenseSpring::LicenseHandler::getVersionList | ( | const LicenseID & | licenseID = LicenseID() , |
const InstallFileFilter & | filter = InstallFileFilter() |
||
) |
InstallationFile::ptr_t LicenseSpring::LicenseHandler::getInstallFile | ( | const LicenseID & | licenseID = LicenseID() , |
const std::string & | version = std::string() , |
||
const InstallFileFilter & | filter = InstallFileFilter() |
||
) |
void LicenseSpring::LicenseHandler::sendDeviceVariables | ( | ) |
std::vector<DeviceVariable> LicenseSpring::LicenseHandler::getDeviceVariables | ( | bool | getFromBackend = false | ) |
void LicenseSpring::LicenseHandler::syncConsumption | ( | int32_t | requestOverage = -1 | ) |
void LicenseSpring::LicenseHandler::syncFeatureConsumption | ( | const std::string & | featureCode = std::string() | ) |
void LicenseSpring::LicenseHandler::registerFloatingLicense | ( | ) |
void LicenseSpring::LicenseHandler::borrowFloatingLicense | ( | uint32_t | hours, |
uint32_t | days = 0 |
||
) |
void LicenseSpring::LicenseHandler::borrowFloatingLicense | ( | const std::string & | borrowEndDateTime = std::string() | ) |
void LicenseSpring::LicenseHandler::releaseFloatingLicense | ( | ) |
void LicenseSpring::LicenseHandler::registerFloatingFeature | ( | const std::string & | featureCode, |
bool | addToWatchdog = true |
||
) |
void LicenseSpring::LicenseHandler::releaseFloatingFeature | ( | const std::string & | featureCode | ) |
bool LicenseSpring::LicenseHandler::isInitialized | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseExists | ( | ) | const |
void LicenseSpring::LicenseHandler::updateConsumption | ( | int32_t | value = 1 , |
bool | saveLicense = true |
||
) |
void LicenseSpring::LicenseHandler::updateFeatureConsumption | ( | const std::string & | featureCode, |
int32_t | value = 1 , |
||
bool | saveLicense = true |
||
) |
void LicenseSpring::LicenseHandler::checkLicenseLocal | ( | ) |
void LicenseSpring::LicenseHandler::clearLocalStorage | ( | ) |
void LicenseSpring::LicenseHandler::addUserData | ( | const CustomField & | data, |
bool | saveLicense = true |
||
) |
void LicenseSpring::LicenseHandler::removeUserData | ( | const std::string & | key = std::string() , |
bool | saveLicense = true |
||
) |
const std::vector<CustomField>& LicenseSpring::LicenseHandler::userData | ( | ) |
std::string LicenseSpring::LicenseHandler::userData | ( | const std::string & | key | ) |
bool LicenseSpring::LicenseHandler::isAutoReleaseSet | ( | ) | const |
void LicenseSpring::LicenseHandler::setAutoRelease | ( | bool | autoRelease | ) |
void LicenseSpring::LicenseHandler::setupLicenseWatchdog | ( | LicenseWatchdogCallback | callback, |
uint32_t | timeout = 0 |
||
) |
void LicenseSpring::LicenseHandler::resumeLicenseWatchdog | ( | ) |
void LicenseSpring::LicenseHandler::stopLicenseWatchdog | ( | ) |
void LicenseSpring::LicenseHandler::setupFeatureWatchdog | ( | LicenseWatchdogCallback | callback, |
uint32_t | timeout = 0 |
||
) |
void LicenseSpring::LicenseHandler::resumeFeatureWatchdog | ( | ) |
void LicenseSpring::LicenseHandler::stopFeatureWatchdog | ( | ) |
void LicenseSpring::LicenseHandler::addDeviceVariable | ( | const std::string & | name, |
const std::string & | value, | ||
bool | saveLicense = true |
||
) |
void LicenseSpring::LicenseHandler::addDeviceVariable | ( | const DeviceVariable & | variable, |
bool | saveLicense = true |
||
) |
void LicenseSpring::LicenseHandler::addDeviceVariables | ( | const std::vector< DeviceVariable > & | variables | ) |
DeviceVariable LicenseSpring::LicenseHandler::deviceVariable | ( | const std::string & | name | ) | const |
const std::string& LicenseSpring::LicenseHandler::deviceVariableValue | ( | const std::string & | name | ) | const |
const std::wstring& LicenseSpring::LicenseHandler::createOfflineActivationFile | ( | const LicenseID & | licenseID, |
const std::wstring & | activationRequestFile = std::wstring() |
||
) |
void LicenseSpring::LicenseHandler::activateLicenseOffline | ( | const std::wstring & | activationResponseFile = std::wstring() | ) |
const std::wstring& LicenseSpring::LicenseHandler::deactivateLicenseOffline | ( | const std::wstring & | deactivationRequestFile = std::wstring() | ) |
bool LicenseSpring::LicenseHandler::updateOffline | ( | const std::wstring & | path = std::wstring() , |
bool | resetConsumption = false |
||
) |
bool LicenseSpring::LicenseHandler::isLicenseValid | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseTrial | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseAirGapped | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseActive | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseEnabled | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseExpired | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseMaintenanceExpired | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseOfflineActivated | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseFloating | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseBorrowed | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseOveragesAllowed | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseUnlimitedConsumptionAllowed | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseVMAllowed | ( | ) | const |
bool LicenseSpring::LicenseHandler::isSubscriptionGracePeriodStarted | ( | ) | const |
bool LicenseSpring::LicenseHandler::isGracePeriodStarted | ( | ) | const |
tm LicenseSpring::LicenseHandler::gracePeriodEndDateTime | ( | ) | const |
tm LicenseSpring::LicenseHandler::gracePeriodEndDateTimeUTC | ( | ) | const |
int LicenseSpring::LicenseHandler::gracePeriodHoursRemaining | ( | ) | const |
uint32_t LicenseSpring::LicenseHandler::getLicenseTrialPeriod | ( | ) | const |
const LicenseID& LicenseSpring::LicenseHandler::getLicenseID | ( | ) | const |
const std::string& LicenseSpring::LicenseHandler::getLicenseKey | ( | ) | const |
const std::string& LicenseSpring::LicenseHandler::getLicenseUser | ( | ) | const |
const std::string& LicenseSpring::LicenseHandler::getLicenseStatusStr | ( | ) | const |
const std::string& LicenseSpring::LicenseHandler::getLicenseStartDate | ( | ) | const |
const std::string& LicenseSpring::LicenseHandler::getLicenseMetadata | ( | ) | const |
LicenseType LicenseSpring::LicenseHandler::getLicenseType | ( | ) | const |
tm LicenseSpring::LicenseHandler::getLicenseExpiryDate | ( | ) | const |
tm LicenseSpring::LicenseHandler::getLicenseExpiryDateUtc | ( | ) | const |
tm LicenseSpring::LicenseHandler::getLicenseMaintenancePeriod | ( | ) | const |
tm LicenseSpring::LicenseHandler::getLicenseMaintenancePeriodUtc | ( | ) | const |
tm LicenseSpring::LicenseHandler::getLicenseLastCheckDate | ( | ) | const |
tm LicenseSpring::LicenseHandler::getLicenseLastCheckDateUtc | ( | ) | const |
tm LicenseSpring::LicenseHandler::getLicenseFloatingEndDateTime | ( | ) | const |
tm LicenseSpring::LicenseHandler::getLicenseFloatingEndDateTimeUtc | ( | ) | const |
int LicenseSpring::LicenseHandler::getDaysRemaining | ( | ) | const |
int LicenseSpring::LicenseHandler::getMaintenanceDaysRemaining | ( | ) | const |
int LicenseSpring::LicenseHandler::getDaysPassedSinceLastCheck | ( | ) | const |
uint32_t LicenseSpring::LicenseHandler::getSubscriptionLicenseGracePeriod | ( | ) | const |
tm LicenseSpring::LicenseHandler::validityWithGracePeriod | ( | ) | const |
tm LicenseSpring::LicenseHandler::validityWithGracePeriodUtc | ( | ) | const |
const Customer& LicenseSpring::LicenseHandler::getLicenseOwner | ( | ) | const |
LicenseUser::ptr_t LicenseSpring::LicenseHandler::getLicenseUserPtr | ( | ) | const |
bool LicenseSpring::LicenseHandler::hasLicenseFeatures | ( | ) | const |
const LicenseFeature& LicenseSpring::LicenseHandler::getLicenseFeature | ( | const std::string & | featureCode | ) | const |
const std::vector<LicenseFeature>& LicenseSpring::LicenseHandler::getLicenseFeatures | ( | ) | const |
bool LicenseSpring::LicenseHandler::hasLicenseCustomFields | ( | ) | const |
const std::vector<CustomField>& LicenseSpring::LicenseHandler::getLicenseCustomFields | ( | ) | const |
uint32_t LicenseSpring::LicenseHandler::getLicenseTimesActivated | ( | ) | const |
uint32_t LicenseSpring::LicenseHandler::getLicenseMaxActivations | ( | ) | const |
uint32_t LicenseSpring::LicenseHandler::getLicenseTransferCount | ( | ) | const |
int32_t LicenseSpring::LicenseHandler::getLicenseTransferLimit | ( | ) | const |
bool LicenseSpring::LicenseHandler::isDeviceTransferAllowed | ( | ) | const |
bool LicenseSpring::LicenseHandler::isDeviceTransferLimited | ( | ) | const |
uint32_t LicenseSpring::LicenseHandler::getLicensePolicyId | ( | ) | const |
int32_t LicenseSpring::LicenseHandler::getLicenseTotalConsumption | ( | ) | const |
int32_t LicenseSpring::LicenseHandler::getLicenseMaxConsumption | ( | ) | const |
int32_t LicenseSpring::LicenseHandler::getLicenseMaxOverages | ( | ) | const |
bool LicenseSpring::LicenseHandler::isResetLicenseConsumptionEnabled | ( | ) | const |
ConsumptionPeriod LicenseSpring::LicenseHandler::getLicenseConsumptionPeriod | ( | ) | const |
uint32_t LicenseSpring::LicenseHandler::getLicenseFloatingTimeout | ( | ) | const |
uint32_t LicenseSpring::LicenseHandler::getLicenseFloatingInUseCount | ( | ) | const |
uint32_t LicenseSpring::LicenseHandler::getLicenseMaxFloatingUsers | ( | ) | const |
uint32_t LicenseSpring::LicenseHandler::getMaxBorrowTime | ( | ) | const |
void LicenseSpring::LicenseHandler::enableExceptions | ( | bool | enable | ) |
bool LicenseSpring::LicenseHandler::isExceptionsEnabled | ( | ) | const |
bool LicenseSpring::LicenseHandler::wasError | ( | ) | const |
LSErrorCode LicenseSpring::LicenseHandler::getLastError | ( | ) | const |
const std::string& LicenseSpring::LicenseHandler::getLastErrorMsg | ( | ) | const |
bool LicenseSpring::LicenseHandler::isInitializationError | ( | ) | const |
bool LicenseSpring::LicenseHandler::isInternalServerError | ( | ) | const |
bool LicenseSpring::LicenseHandler::isNetworkTimeoutError | ( | ) | const |
bool LicenseSpring::LicenseHandler::isNoInternetError | ( | ) | const |
bool LicenseSpring::LicenseHandler::isActivationFailed | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseExpiredError | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseNotFoundError | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseStateError | ( | ) | const |
bool LicenseSpring::LicenseHandler::isHardwareIDError | ( | ) | const |
bool LicenseSpring::LicenseHandler::isGeneralError | ( | ) | const |
bool LicenseSpring::LicenseHandler::isLicenseFeatureError | ( | ) | const |
bool LicenseSpring::LicenseHandler::canIgnoreError | ( | ) | const |