10Duke Enterprise C++ Client
|
#include <ClientProperties.h>
Client properties.
These are set at client creation and used internally in e.g. licensing requests.
Classes | |
class | Builder |
Builds the configuration fluently. More... | |
Public Member Functions | |
ClientProperties () | |
No-arg constructs new instance without any properties. | |
ClientProperties (const std::string &hardwareId, const std::string &hardwareName, const std::string &processId, const std::string &processName) | |
Constructs new instance. | |
bool | hasHardwareId () const |
Checks if ClientProperties.hardwareId has been configured. | |
bool | hasHardwareName () const |
Checks if ClientProperties.hardwareName has been configured. | |
bool | hasProcessId () const |
Checks if ClientProperties.processId has been configured. | |
bool | hasProcessName () const |
Checks if ClientProperties.processName has been configured. | |
Public Attributes | |
const std::string | hardwareId |
The hardware ID of the client device. | |
const std::string | hardwareName |
A human-readable name of the hardware or device. | |
const std::string | processId |
The process ID of the client application requesting the license. | |
const std::string | processName |
The name of the client application requesting the license. | |
|
inline |
Constructs new instance.
hardwareId | - |
hardwareName | - |
processId | - |
processName | - |
|
inline |
Checks if ClientProperties.hardwareId
has been configured.
|
inline |
Checks if ClientProperties.hardwareName
has been configured.
|
inline |
Checks if ClientProperties.processId
has been configured.
|
inline |
Checks if ClientProperties.processName
has been configured.
const std::string tenduke::ee::ClientProperties::hardwareId |
The hardware ID of the client device.
This is a mandatory parameter when consuming licenses where the license model limits the number of devices allowed. Note: We recommend that you provide the hardware ID when possible.
const std::string tenduke::ee::ClientProperties::processId |
The process ID of the client application requesting the license.
This information is needed if the license model defines a process as a lease anchor. See more information on session anchors in the ConcurrentSessions constraint in custom license models.