views:

283

answers:

2
+2  Q: 

Get hardware Info.

How to get hardware information of a system using c# code?

+4  A: 

You can use the System.Management namespace for retrieving the hardware information of a machine using C#.

Here's an article for retrieving hardware information in C#.

And here's a list of WMI classes.

Kirtan
+1 for WMI, I do it from PowerShell quite a bit.
Bratch
A: 

Check out this article:

http://www.codeproject.com/KB/system/C__PC_Audit.aspx

BFree