摘要:
PerformanceCounter的介绍就不多说了,MSDN上介绍的很详细: https://msdn.microsoft.com/zh-cn/library/system.diagnostics.performancecounter(v=vs.110).aspx 1 //对Performance 阅读全文
摘要:
为了获取硬件信息,你还需要创建一个ManagementObjectSearcher 对象。ManagementObjectSearcher searcher = new ManagementObjectSearcher("select * from " + Key);// 硬件 Win32_Proc 阅读全文