
## License class

Provides methods to license the component.

The License type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|License()|Initializes a new instance of the [License](/tasks/python-net/aspose.tasks/license/) class.|
## Methods
| Name | Description |
| :- | :- |
|set_license(license_name)|Licenses the component.|
|set_license(stream)|Licenses the component.|

### See Also

* namespace [aspose.tasks](/tasks/python-net/aspose.tasks/)
* assembly [Aspose.Tasks](/tasks/python-net/)

