# Class SwPDFRegistration

Used for registering the product and getting the license information.

**Constructor**

To create a new SwPDFRegistration object, use New.

**Syntax**

`Dim variableName As New SwPDFRegistration`

**Usage**

This class is used to get license information or to register current database.

## Functions

* [Public Function GetLicense() As SwPDFLicense](/pdf-converter-for-notes/for-developers/lotusscript-api-reference/class-swpdfregistration/public-function-getlicense-as-swpdflicense.md)
* [Public Function GetVersion() As String](/pdf-converter-for-notes/for-developers/lotusscript-api-reference/class-swpdfregistration/public-function-getversion-as-string.md)
* [Public Function Register(LicenseKey As String) As Variant](/pdf-converter-for-notes/for-developers/lotusscript-api-reference/class-swpdfregistration/public-function-register-licensekey-as-string-as-variant.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.swingsoftware.com/pdf-converter-for-notes/for-developers/lotusscript-api-reference/class-swpdfregistration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
