<PackageReference Include="NETStandard.Library" Version="2.0.0" />

System.IO.DriveInfo

public sealed class DriveInfo : ISerializable
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(); } }