如何通过 WMI 调用找到安装的视频 RAM 数量?
有谁知道如何从 WMI 调用中获取 PC 的视频 RAM?
我见过对 Win32_VideoController 管理对象的 AdapterRAM 属性的调用,但这仅提供系统内存,根本不代表视频 RAM。
Does anyone know how to get the Video Ram of a PC from a WMI call?
I've seen calls to the Win32_VideoController management object's AdapterRAM property, but that only gives the system memory, and is not representative of the video RAM at all.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
结果是适配器 RAM 返回,并且由于不幸的巧合,使用了错误的转换并在两个不同的系统上提供了系统 RAM。 感谢您推动我们再次查看。
就其价值而言,在 C# WinForms 应用程序中:
Turns out it was the adapter RAM returned, and through an unfortunate coincidence, the wrong conversion was used and gave the system RAM...on two different systems. Thanks for pushing us to look again.
For what it's worth, in a C# WinForms app:
来自“硬件”下的 Microsoft Technet 脚本中心脚本存储库,然后是“视频和显示” '然后'列出视频控制器属性'。
我想你可能需要在 AdapterRAM 和“VideoMemoryType”之间解决一些问题
From The Microsoft Technet Script Center Script Repository under 'Hardware' then 'Video and Display' then 'List Video Controller Properties'.
I would imagine you might have to work out something between AdapterRAM and 'VideoMemoryType'
我们已经沿着 AdapterRAM 属性的路径走了下去,但这只是为我们提供了系统内存,与视频 RAM 无关。 还有其他方法获得视频内存吗?
We already went down the path of the AdapterRAM property, but that was only giving us the system memory, which has nothing to do with the Video Ram. Is there another way of getting the video ram?