
**Summary:** Provides methods to license the component.

**Module:** [aspose.psd](/psd/python-net/aspose.psd/)

**Full Name:** aspose.psd.License

**Aspose.PSD Version:** 24.12.0

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [License()](#License__1) | Initializes a new instance of this class. |
## **Methods**
| **Name** | **Description** |
| :- | :- |
| set_license(license_name) |    |
| [set_license(stream)](#set_license_stream_1) | Licenses the component. |


### Constructor: License() {#License__1}


```
 License() 
```

Initializes a new instance of this class.

### Method: set_license(stream) {#set_license_stream_1}


```
 set_license(stream) 
```

Licenses the component.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| stream | _io.BufferedRandom | A stream that contains the license. |

