Click or drag to resize
SoLockManager Class

Sets the unlock string.

Inheritance Hierarchy

Namespace: OIV.Inventor.Lock
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public sealed class SoLockManager : SoNetBase

The SoLockManager type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetUnlockString
Returns the unlock string.
Public methodStatic memberSetUnlockString
Sets the unlock string.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

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.

See Also