The path to the license file (.lic extension). Can be either a metered license file (XML with PublicKey/PrivateKey elements) or a standard license file.
Exceptions
exception
condition
FileNotFoundException
Thrown when the license file is not found at the specified path.
InvalidDataException
Thrown when the license file format is invalid or corrupted.
Remarks
This method supports two types of license files:
Metered license files - XML files with the following structure:
Standard license files - Standard GroupDocs license files with Data and Signature elements.
Metered licenses require an active internet connection for validation.
Examples
// Set license from file in application directoryLicense.Set("GroupDocs.Conversion.LowCode.lic");// Set license from absolute pathLicense.Set(@"C:\Licenses\GroupDocs.Conversion.LowCode.lic");// Set license from relative pathLicense.Set("../licenses/GroupDocs.Conversion.LowCode.lic");