473,797 Members | 3,183 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Getting PC configuration details!!

I need to be able to access the following information
programmaticall y.

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 2943
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**********@ya hoo.com (Ashutosh Bhalerao)
Newsgroups: microsoft.publi c.dotnet.genera l
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**********@go ogle.com
NNTP-Posting-Date: 8 Aug 2003 10:00:51 GMT
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!new sfeed00.sul.t-online.de!t-onlin
e.de!newsfeed.f reenet.de!194.1 68.222.21.MISMA TCH!newspeer1-gui.server.ntli .n
et!ntli.net!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.co m!postnews1.
google.com!not-for-mailXref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.genera l:103915
X-Tomcat-NG: microsoft.publi c.dotnet.genera l

I need to be able to access the following information
programmatical ly.

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
|| programmaticall y.
||
|| 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.Manageme nt classes and WMI (see class Win32_PhysicalM emoryArray and class
Win32_PhysicalM emory).

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
1497
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 much used by a client. All these are only using "java networking". Please help me.(viswanathapillai@rediffmail.com) Regards, Viswanath
6
2523
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"> I am trying to send the form and drop down box name to a javascript function, eg onChange="update( "myForm", "mySel") so that, within the Javascript update(formName, selName) function I can access the forms doing something like this:
2
1240
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 getting the same results. Please help on the way of tracking the image disabled option ASAP.
5
1131
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, line no (if possible) etc.? Thanks Regards
5
504
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 chips? DDR SDR
0
885
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
1349
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 support... What is the IE version required for this to run in the client. What is the hardware configurations of web server and client systems that is needed for .net framework to run?
1
993
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 the more esiest way to configure a dns cum the most secure one too.Please help me out yaar if any one knows abt it.About its configuration,useful links, etc. The MOST confusing part is that in debian homesite abt maradns it says that it is vulnerable...
2
2381
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 to get the total uptime of hd's I have. I lease a server and it has 3 drives. Thank-you in advance, jim
0
9537
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10246
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10023
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6803
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5459
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4135
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3750
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2934
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.