The UnlockFlagsConstants2 constants define the level at which unlocking will be performed.
As of v21 the LEADTOOLS Multimedia toolkit has been updated to use a seamless license mechanism and any new development must use it. The new licensing mechanism uses L_SetLicenseFile and L_SetLicenseBuffer. For a step-by-step tutorial on a C DLL platform, refer to Add References and Set a License.
The ILMDSKernel2::UnlockModule mechanism is still supported in v21.
typedef enum UnLockFlagsConstants2
UNLOCK_COMPUTER = 0x01,
UNLOCK_APP_ONCE = 0x02,
UNLOCK_APP_ALWAYS = 0x03,
UNLOCK_APP_PATH = 0x04,
UNLOCK_MM = 0x80000000
|UNLOCK_COMPUTER||[0x01] Use this flag to unlock the module at the computer level.|
|UNLOCK_APP_ONCE||[0x02] Use this flag to unlock the module at the application level for the current application instance. This is the correct way to unlock the toolkit.|
|UNLOCK_APP_ALWAYS||[0x03] Same as UNLOCK_APP_ONCE.|
|UNLOCK_APP_PATH||[0x04] Use this flag to unlock the application that was locked using LOCK_APP_PATH.|
|UNLOCK_MM||[0x80000000] For internal use to unlock the multimedia toolkit.|
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries