System.IO.DriveInfo
namespace System.IO
{
public sealed class DriveInfo : ISerializable
{
public long AvailableFreeSpace { get; }
public string DriveFormat { get; }
public DriveType DriveType { get; }
public bool IsReady { get; }
public string Name { get; }
public DirectoryInfo RootDirectory { get; }
public long TotalFreeSpace { get; }
public long TotalSize { get; }
public string VolumeLabel { get; set; }
public DriveInfo(string driveName);
public static DriveInfo[] GetDrives();
}
}