Set license under Mono/Linux
Leave feedback
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); }
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.