## License class

Provides methods to license the component.

```csharp
public class License
```

## Constructors

| Name | Description |
| --- | --- |
| [License](license/)() | The default constructor. |

## Properties

| Name | Description |
| --- | --- |
| [LicenseInfo](../../aspose.pdf/license/licenseinfo/) { get; } | Gets the current license information. |

## Methods

| Name | Description |
| --- | --- |
| [ClearLicense](../../aspose.pdf/license/clearlicense/)() | Clears the current license. |
| [SetLicense](../../aspose.pdf/license/setlicense/#setlicense)(Stream) | Licenses the component. |
| [SetLicense](../../aspose.pdf/license/setlicense/#setlicense_1)(string) | Licenses the component. |

### See Also

* namespace [Aspose.Pdf](../../aspose.pdf/)
* assembly [Aspose.PDF](../../)


