LicenseSetLicense Method (String)
Licenses the component.

Namespace: GroupDocs.Merger
Assembly: GroupDocs.Merger (in GroupDocs.Merger.dll) Version: 19.7
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.Merger.lic";
GroupDocs.Merger.License lic = new GroupDocs.Merger.License();
lic.SetLicense(licensePath);
See Also