I'm sorry for my bad english.
There is a application with license tied to the hardware. One computer - one license. Typically, a license check is as follows:
However, if the application is on the virtual machine - gathering information about the hardware fails.
I could not get information about the server hardware, as default methods do not permit do it.
Appeal to the hypervisor methods allows you to collect some statistics, but it is not enough to generate a request for the presence of licenses.
Thus there are 2 questions:
How within the virtual machine, I can get information about the server hardware?
How can I implement verification of the license tied to hardware, if the program is running on a virtual machine?
Thank you!
The guest OS and the hypervisor can communicate with each other through the VMware vSockets.