try { VMWareVirtualHost host = new VMWareVirtualHost(); host.ConnectToVMWareVIServer("172.16.1.72", "root","123456"); host.Disconnect(); IVMWareVirtualMachine machine = new VMWareVirtualMachine(); machine = host.Open("[172.16.1.72] Kerio contarol.vmxf"); machine.ShutdownGuest(); if (machine.IsRunning == true) { MessageBox.Show("Machine is running"); } else { MessageBox.Show("Machine is not rinning"); } } catch(Exception ex) { MessageBox.Show(ex.Message); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)