Kyle Schmitt
8/30/2007 3:03:00 PM
I've worked on some projects before for this sort of thing, and Ed is right.
It's not pretty.
The only way to do it without really mucking about on each system is
to get the data in the system-specific format, then munge it together
into whatever global format you design.
This means writing system specific code for ... well each system to test.
There's a MS command line app some where on the MSDN site (complete
with sample code) that can be used to gather lots of info for ms OSes
(no I don't remember the name of the app, sorry), and then, depending
on the unicies you're dealing with, data will be exposed by different
system calls or virtual file systems.
--Kyle