Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I determine the chipset of the computer that my program is running on using C#

Tags:

c#

intel

chipset

I need my code to behave differently dependent on the chipset of the computer it is running on. How can I determine this using C#.

Specifically Intel 945 vs 965.

like image 735
Charley Rathkopf Avatar asked Dec 05 '25 13:12

Charley Rathkopf


1 Answers

If you can get that information, you can surely get it through WMI. Here's a tool that'll autogenerate the C# code for you to do any WMI query:

WMI Code Creator v1.0

(By default it generates VBScript; change the Code Language setting to get C# or VB .NET. You can select multiple properties in the "Select the properties you want values for:" window.)

Unfortunately, I have no idea which of the gazillions of possible WMI queries you'd execute to find out the chipset, and searching only came up with pages asserting that it can't be done for motherboard chipset specifically.

But maybe you'll find the WMI Code Creator useful for other things at any rate.

like image 70
Ryan Lundy Avatar answered Dec 07 '25 02:12

Ryan Lundy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!