0

Possible Duplicate:
Programatically ejecting and retracting the CD drive in vb.net or c#

I want to Eject and Close Multiple DVD or CD Devices on a pc using c#. I also would like to detect which are IDE, SATA and SCSI

Community
  • 1
  • 1
Josef Van Zyl
  • 915
  • 3
  • 19
  • 43

2 Answers2

2

To open or close CD

http://www.dreamincode.net/code/snippet1692.htm

Developer
  • 8,390
  • 41
  • 129
  • 238
  • 1
    check here http://stackoverflow.com/questions/1449410/programatically-ejecting-and-retracting-the-cd-drive-in-vb-net-or-c-sharp – Developer Jan 11 '13 at 14:40
0

See IOCTL_CDROM_LOAD_MEDIA.

user541686
  • 205,094
  • 128
  • 528
  • 886