public final class License extends Object
Set GroupDocs.Conversion license
Constructor and Description |
---|
License() |
Modifier and Type | Method and Description |
---|---|
static String |
getFileNameInFolderOfAssembly(String fileName,
com.aspose.ms.System.Reflection.Assembly assembly)
Gets the file name in folder of assembly.
|
static boolean |
isValidLicense()
Gets a value indicating whether this instance is valid license.
|
static void |
resetHandler()
Use this method for testing purpose only
|
void |
setLicense(InputStream licenseStream)
Sets the license.
|
void |
setLicense(String licensePath)
Sets the license.
|
public static void resetHandler()
Use this method for testing purpose only
public static boolean isValidLicense()
Gets a value indicating whether this instance is valid license.
Value:true
if this instance is valid license; otherwise,
false
.public void setLicense(InputStream licenseStream)
Sets the license.
licenseStream
- The license stream.public void setLicense(String licensePath)
Sets the license.
licensePath
- The license path.Copyright © 2019. All rights reserved.