C++ get Processor ID

前端 未结 3 525
走了就别回头了
走了就别回头了 2020-12-25 08:48

This thread is ok. How to get Processor and Motherboard Id?

I wanted to get processor ID using C++ code not using WMI or any third party lib.

OR anything o

3条回答
  •  旧时难觅i
    2020-12-25 09:23

    If you're using Visual Studio, Microsoft provides the __cpuid instrinsic in the header. Example on the linked msdn site.

提交回复
热议问题