Set license under Mono/Linux
Leave feedback
View as MarkdownMarkdown
Sometimes under Mono/Linux when license is set from relative path unexpected exceptions are raised.
Under Mono/Linux use one of the following ways to set the license:
Set license with absolute path e.g.:
license.SetLicense("/home/<USERNAME>/conversion-sample-src/GroupDocs.Conversion.NET.lic");
Provide license stream loaded from the license file e.g.:
using(var licenseStream = new FileStream("GroupDocs.Conversion.NET.lic", FileMode.Open)) {
license.SetLicense(licenseStream);
}
We value your opinion. Your feedback will help us improve our documentation.