LicenseSetLicense Method (String)
Licenses the component.

Namespace: GroupDocs.Conversion
Assembly: GroupDocs.Conversion (in GroupDocs.Conversion.dll) Version: 19.6.0.0 (19.6)
Syntax
public void SetLicense(
	string licensePath
)

Parameters

licensePath
Type: SystemString
The license path.
Examples
The following example demonstrates how to set a license passing a path to the license file.
C#
string licensePath = "GroupDocs.Conversion.lic";
GroupDocs.Conversion.License lic = new GroupDocs.Conversion.License();
lic.SetLicense(licensePath);
See Also