Get serial number of monitor
-
Hi all, How to get serial number of monitor? I think that's difficult, because in our system environment variables, serial number of monitor is not record. If you have any ideas, please tell me. Thank you
The only reliable way to get the serial number of the monitor is to turn it around and look at the tag with your Mark 1 Eye Ball. It can be done in code, but not reliably. There is nothing in the EDID spec that says the manufacturer of a monitor has to supply the serial number in the data the monitor sends to the machine. Here[^] is the code sample to do it. Be sure to read the code comments for why this will not work 100% of the time.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007