public class License extends Object
Provides methods to license the component. Learn more about licensing
here
.
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() |
void |
setLicense(InputStream licenseStream)
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 final void setLicense(InputStream licenseStream)
Licenses the component.
licenseStream
- The license stream.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()