LicenseSetLicense Method (String)
Licenses the component.

Namespace: GroupDocs.Metadata
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 20.10
Syntax
public void SetLicense(
	string filePath
)

Parameters

filePath
Type: SystemString
The absolute path to a license file.
Examples
This example demonstrates how to setup license.
C#
// initialize License class
License license = new License();

// set path to .lic file
license.SetLicense(@"C:\\GroupDocs.Metadata.lic");
See Also