using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.IO; using System.Windows.Forms; namespace ALC_Data_Coping_App { public partial class Form1 : Form { public Form1() { InitializeComponent(); foreach (var drive in DriveInfo.GetDrives() .Where(d => d.DriveType == DriveType.CDRom)) MessageBox.Show(drive.Name + " " + drive.IsReady.ToString()); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)