VMware {code} Community
lopezcaleb1
Contributor
Contributor

C# Get VM Guest Session Status

Hi there,

I'm attempting to use the C# vSphere API (VMWare.vim.dll v6.3) to gather some basic information about our VMs here. One thing I am trying to collect is the session status in the guest OS (Such as connected, disconnected, protocal failure... think VMware Horizon View Administrator Console), but I'm not finding any such related field in the API. Is there a different API to obtain this information or am I missing something within this API I can use? Any help is appreciated.

 

Thank you!

Reply
0 Kudos
1 Reply
CSiegle
Contributor
Contributor

Maybe VirtualMachine.summary.quickStats.guestHeartbeatStatus ?
Reply
0 Kudos