lemke
VMware Employee
VMware Employee

No, for that we recommend getting the tools variable "ip" via VixVM_ReadVariable() with variableType VIX_VM_GUEST_VARIABLE.

This does depend on the tools properly setting the value, which it should do for Windows and Linux. Be sure the tools are running before querying it.

jobHandle = VixVM_ReadVariable(vmHandle, VIX_VM_GUEST_VARIABLE, "ip", 0, NULL, NULL);

err = VixJob_Wait (jobHandle, VIX_PROPERTY_JOB_RESULT_VM_VARIABLE_STRING, &ip, VIX_PROPERTY_NONE);

Reply
0 Kudos