October 7th, 2013, 07:55 PM
Get the manufacturer and serial number of CDROM/DVDROM/Blu-Ray drives
I use Delphi 7.
I already know how to detect if a volume letter is from a Fixed/Removable/CDROM drive (using GetDriveType).
But what I want to know is how to get the manufacturer and serial number of a CDROM/DVDROM/Blu-Ray drive.
I know that it's possible because I've seen programs that do it.
Why do I need it: if the user has more that one CDROM/DVDROM/Blu-Ray drive, I will make him choose one of them instead of using volume letters; the drive will be recognized later by its serial number.
Could you please help me with this, please...?
October 8th, 2013, 08:34 AM
A quick google search came up with this
I haven't tested, but hopefully works
October 8th, 2013, 11:08 AM
I searched Google several times before asking and couldn't find something useful.
I came across GetVolumeInformation a few times but it's no good, because it retrieves the CD information (the medium) not the information from the (electronic) device.