如何在 C# 中查找显卡核心速度、内存速度和着色器速度(如果适用)?

发布于 2024-10-02 02:55:24 字数 374 浏览 0 评论 0原文

我正在与几个队友一起为大学的软件工程课程开发一个项目。有关我们正在创建的计划的详细信息查看我们的网站。它是一个在 Visual Studio 2010 中开发的 C# Windows 窗体应用程序。

我们在检索我们正在查找的一些显卡信息时遇到了问题。具体来说,显卡的核心时钟速度、内存时钟速度和着色器时钟速度(如果适用)。通过使用 WMI,我们能够找到显卡品牌和型号(在我个人的情况下为“NVIDIA”和“GeForce GTX 465”)、当前驱动程序以及连接到本地计算机的每个显卡有多少专用 RAM。

我找了又找,没有找到任何方法可以在不购买像CPU-Z这样的SDK的情况下找到这些信息。

I'm working on a project for my Software Engineering class at my University with a couple teammates. For details about the program we're creating check our website. It's a C# Windows Form Application developed in Visual Studio 2010.

We are having trouble retrieving some of the graphics card information we are looking for. Specifically, the graphics card's core clock speed, memory clock speed, and shader clock speed (if applicable). Through using WMI we have been able to find the graphics card brand and model ('NVIDIA' and 'GeForce GTX 465' in my personal case), the current driver, and how much dedicated RAM each graphics card attached to the local machine has.

I have searched and searched and have been unable to come up with any way to find out this information without purchasing an SDK like the CPU-Z one.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鹿港巷口少年归 2024-10-09 02:55:24

您也许可以通过 DirectX 获取其中一些信息。在 .NET 世界中,您可以使用 XNA 或调用本机 DirectX 来获取视频卡设备功能。

在 DirectX 和 XNA 文档中查找“图形上限”或“设备功能”。

You might be able to get at some of this information through DirectX. In the .NET world, you'd use XNA or call into native DirectX to get the video card device capabilities.

Look for "graphics caps" or "device capabilities" in the DirectX and XNA documentation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文