TFORMer.License method
License
static void License(string activationCode, string licensee, LicenseKind kind, int numberOfLicenses, string licenseOptions, string expirationDate, string signature)
Referenced types: LicenseKind
Licenses this TFORMer SDK instance via the given license data (provided by TEC-IT).
The licensing method needs to be called prior to any call generating output (e.g. Print). It is recommended to call one of the licensing methods once immediately after loading the TFORMer SDK. You will receive the license information from TEC-IT Datenverarbeitung GmbH after ordering (https://www.tec-it.com/order). All license values must be specified exactly as received from TEC-IT. The license kind, the number of licenses and the licensee string are checked against the license key.
Note
Throws an exception if a valid license is expired (ERR_TF_LICENSE_EXPIRED)
Parameters
| Parameter / type | Description |
|---|---|
activationCodestring |
Activation code |
licenseestring |
Name of the licensee |
kindLicenseKind |
License kind |
numberOfLicensesint |
Number of licenses |
licenseOptionsstring |
License options |
expirationDatestring |
license expiration date |
signaturestring |
License signature |