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

Note: This API is now obsolete.

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

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
[ObsoleteAttribute("See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static int LicenseCheck(
	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, LicenseCheck will automatically append "SDK" to the productName when you need an SDK license to run on the current machine. Obsoletesince Open Inventor 9800 please use SoLicensesInfo.check() instead

See Also