FlowEngine  4.301
Photogrammetry Software Development Kit
FlowEngine::LicenseManager Class Reference

Handles licensing. More...

#include <LicenseManager.h>

Static Public Member Functions

static FLE_DLL bool isActivated ()
 
static FLE_DLL LicenseResult activateOnline (ConstStringBuffer inKey)
 
static FLE_DLL LicenseResult activateOffline (ConstStringBuffer inFilePath)
 
static FLE_DLL LicenseResult deactivateOnline ()
 Tries to deactivate the product online. More...
 
static FLE_DLL LicenseResult createOfflineActivationRequest (ConstStringBuffer inKey, ConstStringBuffer inFilePath)
 
static FLE_DLL LicenseResult createOfflineDeactivationRequest (ConstStringBuffer inFilePath)
 
static FLE_DLL LicenseResult getExpirationDate (DateTime &outDate)
 
static FLE_DLL LicenseResult getUpdatesExpirationDate (DateTime &outDate)
 
static FLE_DLL LicenseResult saveFloatingLicenseServer (ConstStringBuffer inHostAddress, unsigned short inPort)
 
static FLE_DLL LicenseResult clearFloatingLicenseServer ()
 Clear the information relative to the Floating License server. More...
 

Detailed Description

Handles licensing.

Member Function Documentation

◆ activateOffline()

LicenseResult FlowEngine::LicenseManager::activateOffline ( ConstStringBuffer  inFilePath)
static

Tries to activate the product using an offline activation response

Parameters
inFilePaththe path to the file containing the activation response data

◆ activateOnline()

LicenseResult FlowEngine::LicenseManager::activateOnline ( ConstStringBuffer  inKey)
static

Tries to activate the product online

Parameters
inKeythe activation in key in the form xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx

◆ clearFloatingLicenseServer()

LicenseResult FlowEngine::LicenseManager::clearFloatingLicenseServer ( )
static

Clear the information relative to the Floating License server.

◆ createOfflineActivationRequest()

LicenseResult FlowEngine::LicenseManager::createOfflineActivationRequest ( ConstStringBuffer  inKey,
ConstStringBuffer  inFilePath 
)
static

Creates an offline activation license file for when an internet LicenseResult is not available or not desirable

Parameters
inKeythe activation in key in the form xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
inFilePathpath to the file that will receive the offline activation request data

◆ createOfflineDeactivationRequest()

LicenseResult FlowEngine::LicenseManager::createOfflineDeactivationRequest ( ConstStringBuffer  inFilePath)
static

Creates an offline deactivation request file for when an internet connection is not available or not desirable

Parameters
inFilePathto the file that will receive the offline deactivation data

◆ deactivateOnline()

LicenseResult FlowEngine::LicenseManager::deactivateOnline ( )
static

Tries to deactivate the product online.

◆ getExpirationDate()

LicenseResult FlowEngine::LicenseManager::getExpirationDate ( DateTime outDate)
static

Returns the active license expiration date

Parameters
[out]outDatethe date after which this product is not usable anymore

◆ getUpdatesExpirationDate()

LicenseResult FlowEngine::LicenseManager::getUpdatesExpirationDate ( DateTime outDate)
static

Returns the active license updates expiration date

Parameters
[out]outDatethe date after which it will not be possible to update this product anymore

◆ isActivated()

bool FlowEngine::LicenseManager::isActivated ( )
static
Returns
true if the license is activated, false otherwise

◆ saveFloatingLicenseServer()

LicenseResult FlowEngine::LicenseManager::saveFloatingLicenseServer ( ConstStringBuffer  inHostAddress,
unsigned short  inPort 
)
static

Set the location of the Floating License server. When set, the floating license server will be the preferred method to validate the license.

Parameters
inHostAddressthe server address in dotted notation
inPortthe server port