# Class SwPDFLicense

## **About class**

Used for getting license information.

**Constructor**

To create a new SwPDFLicense object, use New.

**Syntax**

Dim variableName As New SwPDFLicense

**Usage**

This class is used to get license information for current database.

## Properties

**LicenseKey**

String. Read only. License key for the current database.

**UserCount**

Integer. Read only. Number of users license is issued for.

**ServerName**

String. Read only. Name of the server license is issued for.

**ExpirationDate**

Variant. Read only. If trial license, this property returns license expiration date.

**IsValid**

Variant. Read only. True, if license is valid; otherwise, False.

**LicenseMessage**

String. Read only. Message containing all the license info.
