public class License extends Object
Provides methods to license the component. Learn more about licensing
here.
<b>Learn more</b>
| Constructor and Description |
|---|
License() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValidLicense()
Gets a value indicating whether this instance is valid license.
|
static boolean |
isValidMeteredLicense() |
static void |
resetLicense() |
void |
setLicense(InputStream licenseStream)
Licenses the component.
|
void |
setLicense(Path licensePath)
Licenses the component.
|
void |
setLicense(String licensePath)
Licenses the component.
|
void |
setLicenseInternal(com.aspose.ms.System.IO.Stream licenseStream) |
void |
setMeteredLicense() |
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 static boolean isValidMeteredLicense()
public static void resetLicense()
public final void setLicense(InputStream licenseStream)
Licenses the component.
licenseStream - The license stream.public final void setLicense(Path licensePath)
Licenses the component.
licensePath - The license path.public final void setLicense(String licensePath)
Licenses the component.
licensePath - The license path.public void setLicenseInternal(com.aspose.ms.System.IO.Stream licenseStream)
public final void setMeteredLicense()
Copyright © 2024. All rights reserved.