How to get hardware information in Windows using C++?

前端 未结 3 2069
小鲜肉
小鲜肉 2021-02-09 09:41

How to get hardware information (for example cpuId, biosId, diskId, baseId and videoId) in c++?

Can anyone give me an example visual studio project for this?

3条回答
  •  有刺的猬
    2021-02-09 10:23

    The standard c++ don`t provide this for you. These api may be provided by os or hardware driver.

提交回复
热议问题