Josef Van Zyl
Josef Van Zyl

Reputation: 925

Eject and Close CD/DVD Devices IN C#

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

Upvotes: 0

Views: 1528

Answers (2)

user541686
user541686

Reputation: 210445

See IOCTL_CDROM_LOAD_MEDIA.

Upvotes: 0

Developer
Developer

Reputation: 8636

To open or close CD

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

Upvotes: 2

Related Questions