Beispiel #1
0
 private void Refresh()
 {
     VMware_OC.Clear();
     VBox_OC.Clear();
     VirtualPC_OC.Clear();
     VMware.SearchVM(ref VMware_OC);
     VirtualBox.SearchVM(ref VBox_OC);
     VirtualPC.SearchVM(ref VirtualPC_OC);
 }
Beispiel #2
0
        //搜索虚拟机
        public static List <VirtualMachine> SearchVM()
        {
            var VMList = new List <VirtualMachine>();

            VMware.SearchVM(ref VMList);
            VirtualBox.SearchVM(ref VMList);
            VirtualPC.SearchVM(ref VMList);
            return(VMList);
        }