Click or drag to resize
SoLicensesInfo Class

Class managing every licensed product.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.LockSoLicensesInfo

Namespace: OIV.Inventor.Lock
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public class SoLicensesInfo : SoNetBase

The SoLicensesInfo type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCheck(String, Single)
Calls Check(productName, version, (System.String ^)nullptr, true, errReport).
Public methodStatic memberCheck(String, Single, String)
Calls Check(productName, version, licenseString, true, errReport).
Public methodStatic memberCheck(String, Single, String, Boolean)
Calls Check(productName, version, licenseString, printWarning, errReport).
Public methodStatic memberCheck(String, Single, String, Boolean, String)

Query if Open Inventor or an extension module is licensed on this machine.

Public methodStatic memberCheck(String, Single, String, Boolean, String) Obsolete.
Obsolete since OpenInventor 9917. See [M:OIV.Inventor.Lock.SoLicensesInfo.Check(System.String,System.Single,System.String,System.Boolean,System.String@].

Query if Open Inventor or an extension module is licensed on this machine.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetLicensedProduct

Gets the licensed product corresponding to the given OIV.Inventor.Lock.SoLicensedProduct.SbProducts.

Public methodGetLicensedProductByIndex

Gets the licensed product corresponding to the given index.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyStatic memberInstance

Returns OIV.Inventor.Lock.SoLicensesInfo singleton.

Public propertyStatic memberLicensingVersionNumber

Returns the current version number as a float for license checking.

Public propertyNoDialogOnLicenseError
Gets/sets a flag indicating if a dialog box should appear when a license request fails (a valid license has not been found for an OpenInventor extension).
Public propertyProductCount

Gets number of licensed products.

Public propertyStatic memberVersion

Returns a character string identifying the version of the Open Inventor library in use.

Top
Events
  NameDescription
Public eventLicenseRequest
Occurs when a license is requested by the OpenInventor.Net runtime.
Top
Remarks

OIV.Inventor.Lock.SoLicensesInfo manages licensed products. SoLicensesInfo.setCallback(SoLicensesCB*) deactivates the default message box to call the specified callback.

Version Number: You can query the Open Inventor version number as a string using the () method or as a floating point value using the () method.

See Also