public class SoLockManager
extends java.lang.Object
This class is used for setting the unlock string (also called "license string" or "password") programmatically. Master passwords and encrypted passwords must be specified via this mechanism.
If your application uses any of the Open Inventor extensions (e.g., MeshViz, VolumeViz, etc.), you will need to specify the necessary license strings using a colon-separated list or a newline-separated list. For encrypted passwords, you must use a newline-separated list. (Since SoLockManager stores only a single string, it would not work to make multiple calls, each specifying a single license string; each call would overwrite the previously specified value.)
You must set the unlock string before any other call to OpenInventor framework. This means the password string should typically be specified in your application's main.
Constructor and Description |
---|
SoLockManager() |
Modifier and Type | Method and Description |
---|---|
static void |
appendUnlockString(java.lang.String string)
Appends to the existing unlock string the specified string.
|
static java.lang.String |
getUnlockString()
Deprecated.
As of Open Inventor 9.14, for security
reasons, this method always returns null.
|
static boolean |
isNativeLoaded()
Internal use only.
|
static void |
loadLibrary(java.lang.String libname)
Internal use only.
|
static void |
setUnlockString(java.lang.String string)
Unlock the product by giving a valid license key as argument.
|
public static boolean isNativeLoaded()
public static void loadLibrary(java.lang.String libname)
public static void setUnlockString(java.lang.String string)
public static void appendUnlockString(java.lang.String string)
@Deprecated public static java.lang.String getUnlockString()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com