【问题标题】:How to get CPU's model number like Core i7-860 on Windows?如何在 Windows 上获取 CPU 的型号,如 Core i7-860?
【发布时间】:2012-05-15 06:33:00
【问题描述】:

i7 CPU型号有多种如下:

http://en.wikipedia.org/wiki/List_of_Intel_Core_i7_microprocessors#Desktop_processors

如何知道我在 Windows 上使用的是哪个版本?

【问题讨论】:

    标签: windows cpu


    【解决方案1】:

    通过

    打开“系统信息”
    Start Menu > Accessories > System Tools > System Information
    

    然后在“系统信息”中打开一次:

    System Information > System Summary
    

    右侧将是“处理器”,它将为您提供 CPU 的完整描述。

    【讨论】:

      【解决方案2】:

      Windows Key + R 将打开运行命令

      输入CMD 并按

      输入wmic CPU get NAME输入

      对我来说它给了:

       Intel(R) Core(TM) i7 CPU  **920**  @ 2.67GHz
      

      我认为 920 是您要寻找的地方...
      如果不是,如果您只需键入 wmic CPU 并按 输入 ,它将以难以阅读的方式为您提供有关处理器的所有信息...
      但是,您可以输入 wmic CPU get (whatever entry interests you) 来获取那个。
      祝你好运

      【讨论】:

        【解决方案3】:

        您可以查看Win32_Processor WMI 类的Name 属性

        试试这个 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();
                }
            }
        }
        

        【讨论】:

        • 谢谢,但我不是 C# 程序员 :'(
        • 您可以使用c#、c++、delphi、python、vbscript、java等多种语言访问WMI。
        【解决方案4】:

        CPU-Z (freeware)可以给你这个信息。

        【讨论】:

        • 可能值得注意的是,cpu-z 有一个无接口模式,可以将结果转储到文本文件(如果 OP 有兴趣以编程方式使用此信息)
        【解决方案5】:

        最简单的方法就是打开“开始”->“计算机”->“系统属性”

        【讨论】:

          【解决方案6】:

          打开 Windows PowerShell,输入以下内容:

           > gwmi -query "SELECT Name FROM Win32_Processor"
          
          Name       : Intel (R) Cor.....i7-2670QM CPU @2.20GHz
          

          【讨论】:

            【解决方案7】:

            使用 shell 上的“wmic”工具:

            >wmic cpu get name
            Name
            Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
            

            请注意:在一些相对罕见的情况下,您可能会看到对这些值的访问限制。

            【讨论】:

              猜你喜欢
              • 2014-02-06
              • 2018-06-01
              • 2014-08-15
              • 1970-01-01
              • 1970-01-01
              • 2013-09-06
              • 1970-01-01
              • 1970-01-01
              • 2022-01-16
              相关资源
              最近更新 更多