SetLicense
SetLicense(string)
Licenses the component.
public void SetLicense(string filePath)
| Parameter | Type | Description |
|---|---|---|
| filePath | String | The absolute path to a license file. |
Examples
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");
See Also
- class License
- namespace GroupDocs.Metadata
- assembly GroupDocs.Metadata
SetLicense(Stream)
Licenses the component.
public void SetLicense(Stream stream)
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | License stream. |
See Also
- class License
- namespace GroupDocs.Metadata
- assembly GroupDocs.Metadata