SetLicense
Leave feedback
On this page
Licenses the component.
public void SetLicense(string filePath)
| Parameter | Type | Description |
|---|---|---|
| filePath | String | The absolute path to a license file. |
This example demonstrates how to setup license.
// initialize License class
License license = new License();
// set path to .lic file
license.SetLicense(@"C:\\GroupDocs.Metadata.lic");
- class License
- namespace GroupDocs.Metadata
- assembly GroupDocs.Metadata
Licenses the component.
public void SetLicense(Stream stream)
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | License stream. |
- class License
- namespace GroupDocs.Metadata
- assembly GroupDocs.Metadata
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.