public class License extends Object
Class License.
Constructor and Description |
---|
License() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getLicenseChecker()
Gets a value indicating whether this instance is valid license.
|
static boolean |
isValidLicense()
Gets a value indicating whether this instance is valid license.
|
static boolean |
isValidMeteredLicense()
Gets a value indicating whether this instance is valid metered license.
|
void |
setLicense(InputStream licenseStream)
Sets the license.
|
void |
setLicense(String licensePath)
Sets the license.
|
void |
setMeteredLicense()
Sets the metered license.
|
public static boolean getLicenseChecker()
Gets a value indicating whether this instance is valid license.
Value:true
if this instance is valid license; otherwise, false
.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()
Gets a value indicating whether this instance is valid metered license.
Value:true
if this instance is valid metered 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.public void setMeteredLicense()
Sets the metered license.
Copyright © 2019. All rights reserved.