Getting PC configuration details!!

  • Thread starter Thread starter Ashutosh Bhalerao
  • Start date Start date
A

Ashutosh Bhalerao

I need to be able to access the following information
programmatically.

Total RAM Memory
How many occupied memory slots are there in the
machine
How much memory in each chip
What kind of RAM chips?
DDR
SDR
Speed of RAM chips?
100 or 133 for SDR,
266 or 333 for DDR
Who is the manufacturer of existing memory chip
(s)
How many empty slots are there for additional
capacity?


Can anybody give me pointers as to where to look? I have tried to
search on google but have not got much success.

Thanks in advance.

Rgds,
Ashu
 
I really do not think it is possible to obtain most of this information. I
just dont think this kind of information is available to the OS. Regardless
there is no classes provided in the .Net framework to facilitate this.

Thanks,

Ryan Byington [MS]

This posting is provided "AS IS" with no warranties, and confers no
rights.Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

--------------------
 
Ashutosh Bhalerao wrote:
|| I need to be able to access the following information
|| programmatically.
||
|| Total RAM Memory
|| How many occupied memory slots are there in the
|| machine
|| How much memory in each chip
|| What kind of RAM chips?
|| DDR
|| SDR
|| Speed of RAM chips?
|| 100 or 133 for SDR,
|| 266 or 333 for DDR
|| Who is the manufacturer of existing memory chip
|| (s)
|| How many empty slots are there for additional
|| capacity?
||
||
|| Can anybody give me pointers as to where to look? I have tried to
|| search on google but have not got much success.
||
|| Thanks in advance.
||
|| Rgds,
|| Ashu

Most of this can be retrieved using the System.Management classes and WMI (see class Win32_PhysicalMemoryArray and class
Win32_PhysicalMemory).

Willy.
 
Back
Top