public class License extends Object
Provides methods to license the component
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)
Sets the license.
|
void |
setLicense(String licensePath)
Sets the license.
|
void |
setMeteredLicense() |
public static boolean isValidMeteredLicense()
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 © 2018. All rights reserved.