how to get serial number of monitor,cdrom and ram

K

kashif

hi,
i m working on dotnet using wmi and making an application to monitor the add
or remove of the hardware. to monitor any device serial no is the unique
identifier of the device i successfully get the serial number of motherboard
and harddisk but unable to get serial number of monitor , cd rom and ram
kindly help me in this regard
 
M

maximillianx

I don't know if my last post came through - but...

Jim Vierra said:
If it's available in the registry them it's probably also available in
WMI.

It's not - trust me, I've looked. A LOT. If you can show me where EDID
information sits in WMI, then I'll eat my hat (now, if I could just find my
chocolate hat).

If it would ever be available, it would have to be added by a vendor
specified module into the WMI database.

Rob
 
J

Jim Vierra

If it's a PnP Monitor then it will most likely be in WMI as well as the
registry. For any other monitor it may or may not be in the registry
anywhere and may or may not be in WMI. Some old monitor/cards supported
SNMP and made most info available to the SNMP set. In that case the
manufacturer would deliver a MIB for any info not in the default device MIB.
Very much like WMI/CIM.

My monitor supports PnP so I can get all info from both the registry and WMI
and it's pretty much the same in both.
 
J

Jim Vierra

Just thought I'd go look around at some of my old monitors. Sure enough, A
before the turn of the century vintage NEC Multisync XV15 reports all of
it's info to WMI. Never installed anything from the manufacturer. But then
it's an early PnP monitor.

I have noticed that some LCD return a huge amount of info with an extended
MOF including the web site for the custom monitor driver.
 
J

Jim Vierra

To finish this I decided to do a scan of one domain to see what was in WMI
and the registry. IN almost every case WMI and the registry were in sync.
In no case did I find an actual serial number like you find on a paper
label. In some cases I would find 4 to 8 digits of the serial number in one
of the manufacturer fields.

In all cases where the manufacturer was not defaulted "(Standard Monitor)".
I found correct resolution (maximum) and other useful information.

In some cases I did find output from old monitors that had been plugged in.
The field in WMI "Availability" is set to 3 for a monitor that is connected
and is turned on. It is set to 8 for a monitor that is not connected.

On one Nvidia Dualview card I found a failure to read the PnP values from
either monitor even though both monitor types are visible on other
workstations. The Nvidia card has all of the manufacturer extensions
installed. There is no serial number to be found in the registry.

Some Graphics Cards clearly fail to pass through valuable information.

The decoded values in the WMI report are certainly decode from the EDID
unless the PnP monitor supports some kind of extended reporting. The EDID
is in the PnPDevidceID string. I have not yet figured out how to isolate it
out but don't think it's necessary as WMI decodes it for me.

Issues I have found are mostly with the EDID being set wrong by the
manufacturer (Dell many times) and the need to override these settings for
proper functionality. In all cases the guidance was to contact the
manufacturer for proper assistance. Updating this value manually may not
produce the desired results.
 
Joined
Sep 29, 2005
Messages
1
Reaction score
0
GetDiskSerial.DLL 2.5

GetDiskSerial.DLL 3.0.0
---------------------------

Easy to read the unique serial number of hard disk In your win32 application.

The GetDiskSerial.DLL is a standard 32-bit DLL file.You can use it to read the serial number of hard disk easily. As we all know, this serial number is unique in the world. So this DLL is of great use, for example, you can use this serial number to creat an encrypt number.

The GetDiskSerial.DLL has already succeeded to get the Serial Number in Delphi, C++Builder, C#, Visual Basic, Visual Basic.NET, PowerBuilder and Visual Foxpro. Here you can download examples of above development language at this site.

- Size - only 50KB now !
- Not require administrator rights in Win NT/2000/XP !

For more information
Please visit:
http://www.devlib.net
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top