#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Posts
    16
    Rep Power
    0

    Get the manufacturer and serial number of CDROM/DVDROM/Blu-Ray drives


    Hi.

    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...?
    Thank you.

    Regards, David.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Posts
    356
    Rep Power
    7
    A quick google search came up with this

    I haven't tested, but hopefully works
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Posts
    16
    Rep Power
    0
    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.

    Thanks anyway.

IMN logo majestic logo threadwatch logo seochat tools logo