One way is to use (p/invoke) GetDriveType() Win32 API:
[DllImport("kernel32.dll")]
public static extern uint GetDriveType(string lpRootPathName);
If the return value is 5, then it is CD-ROM.
The other option to do the same is to use WMI.
"perspolis" <re*****@hotmail.com> wrote in message
news:OO**************@TK2MSFTNGP15.phx.gbl...
How can I find a letter drive is Cd drive??