LicenseSetLicense Method (String) |
Licenses the component.
Namespace: GroupDocs.ConversionAssembly: GroupDocs.Conversion (in GroupDocs.Conversion.dll) Version: 21.2.0.0 (21.2)
Syntaxpublic void SetLicense(
string licensePath
)
Public Sub SetLicense (
licensePath As String
)
public:
void SetLicense(
String^ licensePath
)
member SetLicense :
licensePath : string -> unit
Parameters
- licensePath
- Type: SystemString
The license path.
Examples
The following example demonstrates how to set a license
passing a path to the license file.
string licensePath = "GroupDocs.Conversion.lic";
GroupDocs.Conversion.License lic = new GroupDocs.Conversion.License();
lic.SetLicense(licensePath);
See Also