Class providing information about a licensed product. More...
#include <Inventor/lock/SoLicenseProperty.h>
Public Types | |
enum | SbLicenseType { SDK, RT } |
Public Member Functions | |
SoLicenseProperty () | |
virtual | ~SoLicenseProperty () |
const SbString & | getProductName () const |
const SbString & | getProductVersion () const |
const SbString & | getExpirationDate () const |
const SbString & | getNumUsers () const |
const SbString & | getCheckSum () const |
const SbString & | getInfo () const |
const SbString & | getHostID () const |
SbLicenseType | getLicenseType () const |
bool | isExpired () const |
int | getDaysToExpire () const |
bool | isMasterPassword () const |
This class provides information about a product license, such as the product version or expiration date of the license.
SoLicenseProperty::SoLicenseProperty | ( | ) |
virtual SoLicenseProperty::~SoLicenseProperty | ( | ) | [virtual] |
const SbString& SoLicenseProperty::getCheckSum | ( | ) | const |
Returns the checksum of this license.
int SoLicenseProperty::getDaysToExpire | ( | ) | const |
Gets number of days before expiration for the given product version.
Returns : 0 if license has expired or never expires >0 if license has not expired -1 if license is invalid
const SbString& SoLicenseProperty::getExpirationDate | ( | ) | const |
Returns the expire date of the product for this license.
const SbString& SoLicenseProperty::getHostID | ( | ) | const |
Returns the HostID for this license.
const SbString& SoLicenseProperty::getInfo | ( | ) | const |
Returns the info for this license.
SbLicenseType SoLicenseProperty::getLicenseType | ( | ) | const |
Gets the product type (RunTime or SDK).
const SbString& SoLicenseProperty::getNumUsers | ( | ) | const |
Returns the number of users of the product for this license.
const SbString& SoLicenseProperty::getProductName | ( | ) | const |
Returns the name of the product for this license.
const SbString& SoLicenseProperty::getProductVersion | ( | ) | const |
Returns the version of the product for this license.
bool SoLicenseProperty::isExpired | ( | ) | const |
Returns true if the product is expired.
bool SoLicenseProperty::isMasterPassword | ( | ) | const |
Returns true if the license is a master password.