SoLicensesInfoCheck 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.Lock
[ObsoleteAttribute("Obsolete since OpenInventor 9917")] [EditorBrowsableAttribute(EditorBrowsableState.Never)] public static int Check( string productName, float version, string licenseString, bool printWarning, string[] errReport )
: Product to be licensed (no blanks), e.g. OpenInventor or VolumeVizLDM.
: Version to be licensed (see getLicensingVersionNumber).
: (optional) Embedded application password string, if any.
: If true, error and warning messages (if any) will be displayed to user.
: 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.
< 0 If product or version is NOT licensed on this machine. >= 0 If product and version are licensed and can be used.
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.