日期:2014-05-17 浏览次数:20491 次
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management;
namespace ComputerMachineInfo.Common
{
public class CPUInfo
{
#region 属性
#region CPU名称
string strCPUName = string.Empty;
public string CPUName
{
get { return strCPUName; }
set { strCPUName = value; }
}
#endregion
#region CPU序列号
string strCPUID = string.Empty;
public string CPUID
{
get { return strCPUID; }
set { strCPUID = value; }
}
#endregion
#region CPU个数
int nCPUCount = 0;
public int CPUCount
{
get { return nCPUCount; }
set { nCPUCount = value; }
}
#endregion
#region CPU制造商
string strCPUManufacturer = string.Empty;
public string CPUManufacturer
{
get { return strCPUManufacturer; }
set { strCPUManufacturer = value; }
}
#endregion
#region 当前时钟频率
string strCPUCurrentClockSpeed = string.Empty;
public string CPUCurrentClockSpeed
{
get { return strCPUCurrentClockSpeed; }
&nbs