Click here to Skip to main content
15,908,013 members
Home / Discussions / C#
   

C#

 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
dpminusa23-Nov-10 17:47
dpminusa23-Nov-10 17:47 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
Bernhard Hiller23-Nov-10 23:29
Bernhard Hiller23-Nov-10 23:29 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
dpminusa24-Nov-10 0:16
dpminusa24-Nov-10 0:16 
AnswerRe: What Class(es) to use for Hardware Profiling? Pin
dpminusa23-Nov-10 17:18
dpminusa23-Nov-10 17:18 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
Jacob D Dixon23-Nov-10 17:53
Jacob D Dixon23-Nov-10 17:53 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
dpminusa23-Nov-10 19:48
dpminusa23-Nov-10 19:48 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
Jacob D Dixon24-Nov-10 8:22
Jacob D Dixon24-Nov-10 8:22 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
dpminusa24-Nov-10 15:17
dpminusa24-Nov-10 15:17 
Thanks for the reply.

It looks like the following is the key, as you suggest:

using System;
using System.Management;


ManagementClass c = new ManagementClass(
                new ManagementPath("Win32_LogicalDisk"));

PropertyDataCollection properties =
                c.Properties;

...


I can see the WMI code creator is a strong helper as well.

The Help System has an extensive list for "Computer System Hardware Classes" to use with WMI.

This looks like it may have the detail I am looking for.

There are a number of C# classes like DriveInfo, NetworkInterface, ... that may be better choices once you discover them. The WMI is organized so that it may be easier to use.

Poking around on this topic has lead me to more useful namespaces and classes, at least.

Thanks to all for the guidance. Big Grin | :-D
"Coding for fun and profit ... mostly fun"

GeneralRe: What Class(es) to use for Hardware Profiling? Pin
Jacob D Dixon26-Nov-10 3:56
Jacob D Dixon26-Nov-10 3:56 
GeneralRe: What Class(es) to use for Hardware Profiling? Pin
dpminusa26-Nov-10 22:15
dpminusa26-Nov-10 22:15 
AnswerRe: What Class(es) to use for Hardware Profiling? Pin
Abhinav S23-Nov-10 17:48
Abhinav S23-Nov-10 17:48 
QuestionConvert Word doc to Byte Pin
MWRivera23-Nov-10 8:21
MWRivera23-Nov-10 8:21 
AnswerRe: Convert Word doc to Byte PinPopular
Luc Pattyn23-Nov-10 8:34
sitebuilderLuc Pattyn23-Nov-10 8:34 
GeneralRe: Convert Word doc to Byte Pin
MWRivera23-Nov-10 9:16
MWRivera23-Nov-10 9:16 
GeneralRe: Convert Word doc to Byte Pin
Luc Pattyn23-Nov-10 9:24
sitebuilderLuc Pattyn23-Nov-10 9:24 
GeneralRe: Convert Word doc to Byte Pin
MWRivera23-Nov-10 9:45
MWRivera23-Nov-10 9:45 
GeneralRe: Convert Word doc to Byte Pin
Luc Pattyn23-Nov-10 10:34
sitebuilderLuc Pattyn23-Nov-10 10:34 
AnswerRe: Convert Word doc to Byte Pin
NickHighIQ23-Nov-10 13:51
NickHighIQ23-Nov-10 13:51 
GeneralRe: Convert Word doc to Byte Pin
Luc Pattyn23-Nov-10 14:41
sitebuilderLuc Pattyn23-Nov-10 14:41 
GeneralRe: Convert Word doc to Byte Pin
NickHighIQ23-Nov-10 15:53
NickHighIQ23-Nov-10 15:53 
GeneralRe: Convert Word doc to Byte Pin
Pete O'Hanlon23-Nov-10 23:13
mvePete O'Hanlon23-Nov-10 23:13 
GeneralRe: Convert Word doc to Byte Pin
NickHighIQ24-Nov-10 1:10
NickHighIQ24-Nov-10 1:10 
GeneralRe: Convert Word doc to Byte Pin
Luc Pattyn24-Nov-10 3:42
sitebuilderLuc Pattyn24-Nov-10 3:42 
GeneralRe: Convert Word doc to Byte Pin
MWRivera24-Nov-10 4:59
MWRivera24-Nov-10 4:59 
GeneralRe: Convert Word doc to Byte Pin
MWRivera24-Nov-10 5:01
MWRivera24-Nov-10 5:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.