public class License extends Object
Class License.
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()
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.
|
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) throws Exception
Sets the license.
licenseStream
- The license stream.Exception
public void setLicense(String licensePath)
Sets the license.
licensePath
- The license path.Copyright © 2018. All rights reserved.