<PackageReference Include="TestableIO.System.IO.Abstractions.Wrappers" Version="22.0.16-pre.2" />

System.IO.Abstractions.DriveInfoBase

public abstract class DriveInfoBase : IDriveInfo, IFileSystemEntity
public abstract long AvailableFreeSpace { get; }

public abstract string DriveFormat { get; }

public abstract DriveType DriveType { get; }

public IFileSystem FileSystem { get; }

Exposes the underlying filesystem implementation. This is useful for implementing extension methods.

public abstract bool IsReady { get; }

public abstract string Name { get; }

public abstract IDirectoryInfo RootDirectory { get; }

public abstract long TotalFreeSpace { get; }

public abstract long TotalSize { get; }

public abstract string VolumeLabel { get; set; }

protected DriveInfoBase(IFileSystem fileSystem)

Base class for calling methods of DriveInfo

public static DriveInfoBase op_Implicit(DriveInfo driveInfo)

Implicitly converts a DriveInfo to a DriveInfoBase.