摘要:
获取打印机列表ManagementObjectSearcher searcher =new ManagementObjectSearcher("root\\CIMV2","SELECT * FROM Win32_Printer");foreach (ManagementObject queryObj in searcher.Get()) {Console.WriteLine("-----------------------------------");Console.WriteLine("Win32_Printer inst 阅读全文