473,246 Members | 1,395 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,246 software developers and data experts.

Serial Presence Detect Information

Hi there,

I'm trying to write a C# application that gets information from a
machine such as operating system, memory, cpu etc. I'm using WMI for
this, and it all seems to work fine apart from the fact that
Win32_PhysicalMemory doesn't have any instances. I have therefore come
to the conclusion that I need to try and access the memory information
using the Serial Presence Detect (SPD) information on the EEPROM on the
memory stick(s). However, I have absolutly no idea how to get this
information.

I have read the SPD spec document, but this just tells me which bytes
contain which bits of information, and not how to access that
information in the first place.

Any pointers in the right direction would be much appreciated - or any
code excerpts would be even better!! :)

Thanks in advance

Jan 31 '06 #1
5 3991

"foolsbar" <fo******@yahoo.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
| Hi there,
|
| I'm trying to write a C# application that gets information from a
| machine such as operating system, memory, cpu etc. I'm using WMI for
| this, and it all seems to work fine apart from the fact that
| Win32_PhysicalMemory doesn't have any instances. I have therefore come
| to the conclusion that I need to try and access the memory information
| using the Serial Presence Detect (SPD) information on the EEPROM on the
| memory stick(s). However, I have absolutly no idea how to get this
| information.
|
| I have read the SPD spec document, but this just tells me which bytes
| contain which bits of information, and not how to access that
| information in the first place.
|
| Any pointers in the right direction would be much appreciated - or any
| code excerpts would be even better!! :)
|
| Thanks in advance
|

Hmmm... Win32_PhysicalMemory should at least return the main mamory bank
info (main board devices).
As for all other memory devices, no instances are available if the device
driver is not WMI compliant, and I don't know any of them being WMI
compliant.

Willy.

Jan 31 '06 #2
Just as an addition to this, I can get instances of
Win32_PhysicalMemory on different machines, just not on the one I
want!! I assume it's something to do with the BIOS not releasing the
information to Windows, hence my need to try this alternative method.

Jan 31 '06 #3

"foolsbar" <fo******@yahoo.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
| Just as an addition to this, I can get instances of
| Win32_PhysicalMemory on different machines, just not on the one I
| want!! I assume it's something to do with the BIOS not releasing the
| information to Windows, hence my need to try this alternative method.
|

If the Bios can't read or detect the SPD table, you won't be able to read it
either. Anyway, a warning/error message should be given at boot time. Can
you access the DIMM characteristics from the Bios set-up, are you sure the
DIMM's are of the correct type?

Willy.
Jan 31 '06 #4
Hi Willy,

Thanks for keeping up with this! Just to clarify, Win32_PhysicalMemory
is empty (i.e. no instances), but it appears the SPD table is not, as
using CPU-Z (http://www.cpuid.org/cpuz.php) does give me the
information I need. I just need to figure out how to access the SPD
table, which at this stage is something I haven't got a clue how to do!!

Jan 31 '06 #5

"foolsbar" <fo******@yahoo.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
| Hi Willy,
|
| Thanks for keeping up with this! Just to clarify, Win32_PhysicalMemory
| is empty (i.e. no instances), but it appears the SPD table is not, as
| using CPU-Z (http://www.cpuid.org/cpuz.php) does give me the
| information I need. I just need to figure out how to access the SPD
| table, which at this stage is something I haven't got a clue how to do!!
|

The info contained in Win32_PhysicalMemory is not what is in the SPD tables.
The SPD is read by the Bios to set the memory timing at boot time to a safe
and memory manufacturer supported value, but this value is never supplied to
the user through WMI. How you can read the SPD from user code depends on the
Bios and chipset manufacturer and is kept as a 'secret' (but of course there
are leaks), all I know is that you can't read these tables from C#, and it's
not what you are looking for anyway.

Willy.

Jan 31 '06 #6

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

Similar topics

4
by: Peter Flynn | last post by:
I'm having trouble finding example code to detect the presence of an Internet connection. It doesn't seem to be a very frequently asked question, as all I need is the answer yes or no (is the user...
0
by: Michiel | last post by:
Hello, Can anyone give me an idea of what classes/interfaces I could use when I want to detect the presence of a virtual machine (VMware, Virtual PC) on a user's system ? Both managed and...
13
by: Al the programmer | last post by:
I need to access the serial ports on my webserver from an asp.net page. I have no problem accessing the serial ports from a windows form application, but the code doesn't work in asp.net. I have...
6
by: Perquiaga | last post by:
Hi to all I have to detect the mouse presence and disconection if occurs to give alerts. I'm using VB .NET, if somebody can help i'll apretiate it.
0
by: andrew | last post by:
We are currently writing a utility to audit software and hardware within computers on a network. We need to be able to access the the memory SPD data via the SMBus. This will tell us the...
4
by: Frank | last post by:
Hello, how to get information about all serial ports in the PC? I use the following code, but i got only the data of the FIRST serial port. All other serial port information are not available...
8
by: vicky | last post by:
Hello,I met a question when I wrote the program.I want the program can transmit the data frame continuosly through the RS232 when the communication has been interrupted.But I don't know how to...
8
by: Vivek Menon | last post by:
Hi, I am using a C program to write/read from a serial port. The writing part is working perfectly fine. However, I am not able to read the values correctly and display them. To debug this issue I...
1
by: bopita | last post by:
Dear sir i want you show me code how to detect serial hardisk and user can used only one computer with this serial hardisk and who want to copy this database used other computer it delete all...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...

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.