I am not sure if this is the right place to post this question, I am developing a software to support VMWare PCoIP and need to find out how to get the hostname of the physical machine (that runs View Client and the virtual machine) inside a virtual machine before the user logs in Windows of the virtual machine.
I understand there are two ways to read the hostname, via environment variables and registry under HKEY_CURRENT_USER\Volatile Environment, but they are only available after the user has logged on. I need the info before the user logs in.
Is there any VMware API that can be called or queried the hostname?
Thanks.