public class LicenseCore extends Object
Constructor and Description |
---|
LicenseCore() |
Modifier and Type | Method and Description |
---|---|
static void |
clearLicense() |
static int |
getLicenseStatePublic()
Call this from public IsLicensed method only.
|
static void |
resetThreadContext()
Resets a license context for current thread.
|
void |
setLicenseCore(com.aspose.ms.System.IO.Stream stream) |
void |
setLicenseCore(String licenseName,
Class clientAssembly) |
static void |
setThreadContext(com.aspose.ms.System.IO.Stream stream)
Sets a license context for current thread.
|
public void setLicenseCore(com.aspose.ms.System.IO.Stream stream)
public static void setThreadContext(com.aspose.ms.System.IO.Stream stream)
Sets a license context for current thread.
stream
- A stream that contains the license.public static void resetThreadContext()
Resets a license context for current thread.
public static int getLicenseStatePublic()
Call this from public IsLicensed method only. !!! NOTE: This method was added by EMAILNET-34963. It is a public copy of GetLicenseStateInternal method. This method must called only in public IsLicensed method. Any changes in these methods must be necessarily synchronized!
public static void clearLicense()
Copyright (c) 2016 Aspose. All Rights Reserved.