摘要: Win32_DiskDrive 硬盘 参数说明 vailability --设备的状态。BytesPerSector --在每个扇区的物理磁盘驱动器的字节数。Capabilities --媒体访问设备的能力阵列。CapabilityDescriptions --更详细的解释为任何在功能阵列表示的访问 阅读全文
posted @ 2018-02-23 11:50 Zhe.Song 阅读(2028) 评论(0) 推荐(2) 编辑
摘要: PerformanceCounter的介绍就不多说了,MSDN上介绍的很详细: https://msdn.microsoft.com/zh-cn/library/system.diagnostics.performancecounter(v=vs.110).aspx 1 //对Performance 阅读全文
posted @ 2018-02-23 11:26 Zhe.Song 阅读(1179) 评论(0) 推荐(0) 编辑
摘要: 为了获取硬件信息,你还需要创建一个ManagementObjectSearcher 对象。ManagementObjectSearcher searcher = new ManagementObjectSearcher("select * from " + Key);// 硬件 Win32_Proc 阅读全文
posted @ 2018-02-23 10:35 Zhe.Song 阅读(659) 评论(0) 推荐(0) 编辑