C# 收集机器硬件信息的相关代码片断(cpu频率、磁盘可用空间、内存容量……)
摘要:
//cpu频率 using Microsoft.Win32;private int GetCPUFrequency() { RegistryKey rk = Registry.LocalMachine.OpenSubKey(@"HARDWARE\DESCRIPTION\System\CentralProcessor\0"); object... 阅读全文
posted @ 2005-12-12 16:59 anf 阅读(578) 评论(1) 推荐(0) 编辑