i7 CPU型号有很多种,如下所示:
http://en.wikipedia.org/wiki/List_of_Intel_Core_i7_microprocessors#Desktop_processors
如何知道我在Windows上使用的是哪个版本?
小智 13
打开"系统信息"
Start Menu > Accessories > System Tools > System Information
Run Code Online (Sandbox Code Playgroud)
然后在"系统信息"中打开一次:
System Information > System Summary
Run Code Online (Sandbox Code Playgroud)
在右侧将是"处理器",这将为您提供CPU的完整描述.
小智 8
Windows Key + R 将打开运行命令
输入CMD并按
类型wmic CPU get NAME和 enter
对我来说它给出了:
Intel(R) Core(TM) i7 CPU **920** @ 2.67GHz
Run Code Online (Sandbox Code Playgroud)
920是我认为你想要的...
如果不是,如果你只是输入wmic CPU并按下 enter 它将以难以阅读的方式给你关于处理器的所有信息......
但是你可以输入wmic CPU get (whatever entry interests you)以获得那个.
祝好运
您可以检查WMI类的Name属性Win32_Processor
试试这个C#样本
using System;
using System.Collections.Generic;
using System.Management;
using System.Text;
namespace GetWMI_Info
{
class Program
{
static void Main(string[] args)
{
try
{
string ComputerName = "localhost";
ManagementScope Scope;
Scope = new ManagementScope(String.Format("\\\\{0}\\root\\CIMV2", ComputerName), null);
Scope.Connect();
ObjectQuery Query = new ObjectQuery("SELECT Name FROM Win32_Processor");
ManagementObjectSearcher Searcher = new ManagementObjectSearcher(Scope, Query);
foreach (ManagementObject WmiObject in Searcher.Get())
{
Console.WriteLine("{0}",WmiObject["Name"]);
}
}
catch (Exception e)
{
Console.WriteLine(String.Format("Exception {0} Trace {1}",e.Message,e.StackTrace));
}
Console.WriteLine("Press Enter to exit");
Console.Read();
}
}
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
44537 次 |
| 最近记录: |