I need code that loops through all media devices and determine if it is a DVD-ROM BD-ROM DVD-RW etc for all device types.
This code must not use any external code like the IMAPI library. It needs to be in pure c# or VB.NET
The application should require that a media is inserted. I am not interested in the media, but device type.
Also, please return device name. If you can return the manufacturer you will get a bonus.
It should return at least the attached types.