Licenses Class

From Derivative
Jump to: navigation, search

The Licenses class describes the set of all installed license objects. It can be accessed with the licenses object, , found in the automatically imported td module.



Members

Licenses.disableProbool :

When True, the application will run as though no Pro licenses are available. This can be used to test compatibility with lesser licenses.

Licenses.dongleslist (Read Only):

Get the list of dongles connected to the system.

Licenses.machinestr (Read Only):

The computer machine name.

Licenses.systemCodestr (Read Only):

The unique computer system code.

Licenses.typestr (Read Only):

The highest ranking license type of all installed licenses, some products being 'Pro', 'Non-Commercial', 'Commercial'. See also app.product in App Class.

Methods

Licenses.install(key)bool:

Install a license with the specified key. Returns True if successful.