02.12.2014 Views

Signature Components API

Signature Components API

Signature Components API

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Signature</strong> <strong>Components</strong> <strong>API</strong><br />

4.1.2.2 SetLicence<br />

Initializes the Licence object with a Wacom-supplied licence sting<br />

void SetLicence(Licence)<br />

Parameters:<br />

Licence<br />

Return Value: CheckResult<br />

CheckResult<br />

Licence string<br />

CheckResult object. If the licence string is valid, CheckResult.Result<br />

is zero. For further information, see CheckResult below.<br />

4.1.2.3 SetLogging<br />

Enables tracing and logging of licensing operations.<br />

void SetLogging(Level, Outputs, Filename)<br />

Parameters:<br />

Level<br />

LogLevel value specifying the amount of information to include.<br />

Outputs<br />

Combination of LogOutput values specifying output(s) for logging.<br />

Filename<br />

Name of file to write logging output to. Required if Outputs<br />

includes ToFile<br />

Return Value: None<br />

4.1.3 Properties<br />

Property Type Licence Property Description<br />

Company String Name of the company to whom the licence string was issued.<br />

May be NULL, eg if the licence was issued for a specific product.<br />

(Read-only)<br />

IsValid Boolean True if a valid licence string has been set, False otherwise.<br />

(Read-only)<br />

Licence String The licence string previously passed to SetLicence.<br />

(Read-only)<br />

Product String The name of the product for which the licence string was issued.<br />

May be NULL, eg if the licence was issued for all products of a<br />

specific company.<br />

(Read-only)<br />

SerialNumber String The serial number of the licence.<br />

(Read-only)<br />

User String The name of the end-user to whom the licence was issued. In<br />

most cases, licences are issued for a Company and/or product<br />

and User will be NULL.<br />

(Read-only)<br />

Version Long Licence string format version number.<br />

(Read-only)<br />

Page 38 of 75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!