I have this code:
DriveInfo dr = new DriveInfo(@"E:\");
if (dr.IsReady == false)
{
MessageBox.Show("Drive E: is not ready. Please insert a blank DVD medium.");
}
So, I insert a blank DVD in the drive and run the code. What am I missing?
Thanks a lot