获取 ram 制造商 [英] Get ram manufacturer

查看:42
本文介绍了获取 ram 制造商的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道一种以编程方式检索ram内存制造商的方法?

Does anyone know a way to programmatically retrieve the ram memory manufacturer?

谢谢!

推荐答案

在 WINAPI 中,您应该能够调用 GetSystemFirmwareTable 来检索 SMBIOS 表,然后解析该表以提取该信息.

In WINAPI, you should be able to call GetSystemFirmwareTable to retrieve the SMBIOS table, and then parse the table to extract that information.

看到这个

http://msdn.microsoft.com/en-us/library/ms724379%28v=VS.85%29.aspx

还有这个

http://dmtf.org/sites/default/文件/标准/文档/DSP0134_2.7.0.pdf

ruslik 提到的另一种选择是使用 WMI,如下所述

The other option, as mentioned by ruslik, is to use WMI, as described here

http://msdn.microsoft.com/en-us/library/aa390423%28v=VS.85%29.aspx

(您正在寻找 Win32_PhysicalMemoryArray 类型的对象)

(you're looking for objects of type Win32_PhysicalMemoryArray)

我不确定哪种方式会更容易.两者看起来都很难.

I'm not sure which way would be easier. Both seem hard.

这篇关于获取 ram 制造商的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆