DataPA Enterprise Dashboard Controls API Reference

The LicenseInfo type exposes the following members.

Constructors

  Name Description
Public method LicenseInfo()()()()
Creates and returns a new LicenseInfo object for this user.
Public method LicenseInfo(ClientConfig)
Creates and returns a new LicenseInfo object for this user.
Public method LicenseInfo(String, String, String, String)
Creates and returns a new LicenseInfo object using the license supplied.
Public method LicenseInfo(ClientConfig, String, String, String, String)
Creates and returns a new LicenseInfo object using the license supplied.

Methods

  Name Description
Public method ApplyLicense
Checks a license, returns true and applies it to this object if it is valid.
Public method Dispose
Disposes of the object
Public method LoadLocalLicense
Loads the current license from the config file or registry on the local machine.
Public method PersistCurrentLicenseOnClient
Saves the current license to the configuration files.

Fields

  Name Description
Public field Static member ClassId
Public field Static member EventsId
Public field Static member InterfaceId

Properties

  Name Description
Public property Clone
Gets cloned copy of this object.
Public property ExpiryDate
Gets a value that indicates the expiry date of the current license.
Public property Organisation
Gets the Organisation this license is valid for.
Public property Parent
The object that represents the parent of this object.
Public property Quantity
Gets the quanity of the current license.
Public property SerialNumber
Gets the serial number of the current license.
Public property SupressEvaluationWarning
Gets and sets a value that indicates if warnings that an evaluation license is about to expire should be suppressed.
Public property Type
Gets the type of this license.
Public property User
Gets the user this license is valid for.

Events

  Name Description
Public event LicenseChanged
Event raised when the license on this client changes.

See Also