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_PhysicalM emory 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 5 4014
"foolsbar" <fo******@yahoo .com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.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_PhysicalM emory 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_PhysicalM emory 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.
Just as an addition to this, I can get instances of
Win32_PhysicalM emory 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.
"foolsbar" <fo******@yahoo .com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
| Just as an addition to this, I can get instances of
| Win32_PhysicalM emory 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.
Hi Willy,
Thanks for keeping up with this! Just to clarify, Win32_PhysicalM emory
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!!
"foolsbar" <fo******@yahoo .com> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...
| Hi Willy,
|
| Thanks for keeping up with this! Just to clarify, Win32_PhysicalM emory
| 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_PhysicalM emory 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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
connected or not). I'm not interested in speed detection or any
other aspect of the connection, just its existence or not. The
reason is to be able to intercept link clicks on a CD-based set
of HTML pages and pop up a warning if there is no...
|
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 unmanaged classes are ok (no MFC). I'm
familiar with WMI as well. It needs only to work on Windows XP operating
systems.
Thanks !
|
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 been told it is not possible to
access the serial ports from asp.net.
The application is used to control custom hardware. The hardware is
connected to a PC through serial ports. Our customer wants to control the
hardware from a remote...
|
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.
|
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 manufacturer,
serial number, speed, size, etc. We have the full spec for the SPD
data, but cannot find anywhere the address within the SMBus that the
SPD data is held, nor how to access the SMBus (preferably from C#).
There are a number of utilities that...
| |
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 with this code sample:
ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select *
from WIN32_SerialPort");
|
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 write. I
don't know how to record.Who can give me hand?Thanks very much!
|
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 am also seeing
the values on minicom. Now I have used fcntl() function and then read
refp = fcntl(fd, F_SETFL, 0);
res = read(fd,buf,1024); /* Read the value sent on the serial port
buf=0; /* set end of string, so we can printf */...
|
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 automaticly when used different serial hardisk.
thank i will wait soon.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |