Firstly add namespace System.IO to your project. Then use the code below.
DriveInfo di = new DriveInfo("E");
Console.WriteLine("Name: {0}", di.Name);
Console.WriteLine("IsReady: {0}", di.IsReady);
if (di.IsReady) {
Console.WriteLine("VolumeLabel: {0}", di.VolumeLabel);
Console.WriteLine("DriveType: {0}", di.DriveType);
Console.WriteLine("DriveFormat: {0}", di.DriveFormat);
Console.WriteLine("TotalSize: {0}", di.TotalSize);
Console.WriteLine("TotalFreeSpace: {0}", di.TotalFreeSpace);
Console.WriteLine("AvailableFreeSpace: {0}", di.AvailableFreeSpace);
}