[Mono-list] Re trieving Hardware Information

Chris Howie cdhowie at gmail.com
Tue Dec 9 13:36:47 EST 2008


On Sun, Dec 7, 2008 at 11:06 PM, mysticriver <themysticriver at gmail.com> wrote:
> Hi,
>
> I looked around the forums and realize that there isn't a straight forward
> way to retrieve the hardware details through the Mono APIs except by calling
> external programs such as:
>
> CPU Info: /proc/cpuinfo
> Memory Info: /proc/meminfo
> Disk Info: df- h
>
> and parsing the output for the required data. Could someone verify if this
> is the case, and whether better support will be made available in Mono, and
> if so when?

Some information is exposed in scattered places (like
System.Environment.ProcessorCount).  Is there something specific
you're looking for or are you writing a hardware browser or something?

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Mono-list mailing list