Click or drag to resize
SoLicensesInfoCheck Method (String, Single, String, Boolean, String)

Note: This API is now 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.

Namespace: OIV.Inventor.Lock
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
[ObsoleteAttribute("Obsolete since OpenInventor 9917")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static int Check(
	string productName,
	float version,
	string licenseString,
	bool printWarning,
	string[] errReport
)

Parameters

productName
Type: SystemString

: Product to be licensed (no blanks), e.g. OpenInventor or VolumeVizLDM.

version
Type: SystemSingle

: Version to be licensed (see getLicensingVersionNumber).

licenseString
Type: SystemString

: (optional) Embedded application password string, if any.

printWarning
Type: SystemBoolean

: If true, error and warning messages (if any) will be displayed to user.

errReport
Type: SystemString

: If not NULL, will be set to point to the text of the error or warning messages (if any). Note! This address is an internal static buffer and must not be freed by the application.

Return Value

Type: Int32

< 0 If product or version is NOT licensed on this machine. >= 0 If product and version are licensed and can be used.

Remarks

Note: If productName is "ScaleViz" and ScaleViz is licensed on this machine. Then the return value is the number of render nodes allowed.

FlexNet Notes:

  • Before checking for a FlexNet license token, SoLicensesInfo.check will automatically append "SDK" to the productName when you need an SDK license to run on the current machine.

See Also