摘要: 获取打印机列表ManagementObjectSearcher searcher =new ManagementObjectSearcher("root\\CIMV2","SELECT * FROM Win32_Printer");foreach (ManagementObject queryObj in searcher.Get()) {Console.WriteLine("-----------------------------------");Console.WriteLine("Win32_Printer inst 阅读全文
posted @ 2013-05-06 11:08 John29 阅读(430) 评论(0) 推荐(0) 编辑