473,383 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Getting PC configuration details!!

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
Jul 19 '05 #1
3 2917
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

--------------------
From: as**********@yahoo.com (Ashutosh Bhalerao)
Newsgroups: microsoft.public.dotnet.general
Subject: Getting PC configuration details!!
Date: 8 Aug 2003 03:00:50 -0700
Organization: http://groups.google.com/
Lines: 26
Message-ID: <b0**************************@posting.google.com >
NNTP-Posting-Host: 61.11.18.155
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1060336851 23517 127.0.0.1 (8 Aug 2003 10:00:51 GMT)X-Complaints-To: gr**********@google.com
NNTP-Posting-Date: 8 Aug 2003 10:00:51 GMT
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!newsfeed.freenet.de!194.168.222.21.MISMATCH!n ewspeer1-gui.server.ntli.n
et!ntli.net!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!postnews1.
google.com!not-for-mailXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:103915
X-Tomcat-NG: microsoft.public.dotnet.general

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


Jul 19 '05 #2
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.
Jul 19 '05 #3
Thanks Willy, That solved my problem.

Here is some source code which could help anyone who might need this.

http://www.freevbcode.com/ShowCode.Asp?ID=4571

Rgds,
Ashu
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Viswanath | last post by:
Hai guys, My system connected to Internet.I want to get all port details using java - networking, means which ports are used presently? Also, I want to get the download capacity(bandwidth). How...
6
by: paul | last post by:
Hi all, Is there a way to access a forms details by sending its parameters to a function. For example, I have a form named "myForm" populated by a drop down box, so that <select name="mySel"> ...
2
by: Prasad Dannani | last post by:
Hi, I want to know the browser settings like Image Enabled, Cookie Enabled etc., For Cookies and Script Request object has some properties but after disabling certain features also we are...
5
by: John | last post by:
Hi I am having difficulty figuring out the source of errors in an app that is delivered to a client. Is there a way that a compiled app can give the location of the error, such as procedure,...
5
by: Ashutosh Bhalerao | last post by:
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...
0
by: hsakarp | last post by:
hi, i am new to the forum. is it possible to get the datas in MPP using simple ASP code. if yes,please give me a sample code to do that. Please help me in this regards.
1
by: swapna.munukoti | last post by:
Hi all, Can any one tell me the site where I can find the minimum configurations required for a web server for .net framework 3.0 to run? The configurations like what IIS version doe this...
1
vvsvinu
by: vvsvinu | last post by:
hai guys, i need to know abt maradns.Have u ever heard of it.i read in a review that more than the bind that is used in DNS the maradns helps us.is it right> But its home site it states that it is...
2
by: trochia | last post by:
Hello, new to this trhead...and a couple weeks here on the forums. I see that there isn't much activity here, but I "know" there is a way to SSH in and get hardware details. What I am after is...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.