- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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);