System.IO.DriveInfo public sealed class DriveInfo : ISerializable Documentation 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()