文件名称:简单制作机器码注册码
文件大小:4KB
文件格式:TXT
更新时间:2012-02-04 03:34:41
注册码 机器码 注册
public string getCpu() { string strCpu = null; ManagementClass myCpu = new ManagementClass("win32_Processor"); ManagementObjectCollection myCpuConnection = myCpu.GetInstances(); foreach( ManagementObject myObject in myCpuConnection) { strCpu = myObject.Properties["Processorid"].Value.ToString(); break; } return strCpu; }