Documentation for this section has not yet been entered.
DriveInfo.IsReady indicates whether a drive is ready. For example, it indicates whether a CD is in a CD drive or whether a removable storage device is ready for read/write operations. If you do not test whether a drive is ready, and it is not ready, querying the drive using System.IO.DriveInfo will raise an System.IO.IOException.
Do not rely on DriveInfo.IsReady to avoid catching exceptions from other members such as DriveInfo.TotalSize, DriveInfo.TotalFreeSpace, and DriveInfo.DriveFormat. Between the time that your code checks DriveInfo.IsReady and then accesses one of the other properties (even if the access occurs immediately after the check), a drive may have been disconnected or a disk may have been removed.