cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lc_virtualstatusget - A way to confirm if my environment is physical or virtual

lc_virtualstatusget - A way to confirm if my environment is physical or virtual

Starting FNP-11.13.0, a new API was introduced 'lc_virtualstatusget', that allows us to detect if our working environment is physical or virtual.

Here is the snippet from FNP-11.13.0 release notes:


A new API lc_virtualstatusget() provides information about environment of the machine. Whether machine is virtual or physical,
Prototype:
int lc_virtualstatusget(job)

Return value:
• 1, if virtual machine
• 0, if physical machine
• -1, if error occurred or virtualization functionality not supported.
  • In 11.14.1, in order to allow a fast first-checkout, we introduced a dependency on the FNLS (FlexNet Licensing Service) for virtualization detection (from both Windows and Linux).
  • Starting FNP-11.15.0, the dependency on FNLS for this API was removed.

 

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Dec 09, 2020 03:17 AM
Updated by:
Contributors