NAP
Public Member Functions | Public Attributes | List of all members
LicenseInformation Struct Reference

#include <licenseservice.h>

Public Member Functions

bool canExpire () const
 
bool expired ()
 

Public Attributes

std::string mName
 Extracted user name. More...
 
std::string mMail
 Extracted user mail. More...
 
std::string mApp
 Extracted application signature. More...
 
std::string mTag
 Extracted additional license information. More...
 
std::string mID
 Extracted machine id. More...
 
bool mExpires = false
 If this license can expire. More...
 
DateTime mTime
 License expiry date as system timestamp. More...
 

Description

Validated user license information

Collaboration diagram for LicenseInformation:
[legend]

Member Function Documentation

◆ canExpire()

bool canExpire ( ) const
Returns
if the license can expire

◆ expired()

bool expired ( )

Returns if the license expired. Always false when the license has no expiration date Use it at runtime to check if the license is still valid.

Returns
if this license expired, false when the license has no expiration date

Member Data Documentation

◆ mApp

std::string mApp

Extracted application signature.

◆ mExpires

bool mExpires = false

If this license can expire.

◆ mID

std::string mID

Extracted machine id.

◆ mMail

std::string mMail

Extracted user mail.

◆ mName

std::string mName

Extracted user name.

◆ mTag

std::string mTag

Extracted additional license information.

◆ mTime

DateTime mTime

License expiry date as system timestamp.