<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.0.0" />

DriveInfoWrap

public class DriveInfoWrap : IDriveInfo
Wraps an instance of DriveInfo.
public long AvailableFreeSpace { get; }

Gets the available free space on the drive, in bytes.

public string DriveFormat { get; }

Gets the format of the drive.

public DriveType DriveType { get; }

Gets the drive type of the drive.

public bool IsReady { get; }

Indicates whether or not the drive is ready.

public string Name { get; }

Gets the name of the drive.

public DirectoryInfo RootDirectory { get; }

Gets the root directory of the drive.

public long TotalFreeSpace { get; }

Gets the total free space of the drive.

public long TotalSize { get; }

Gets the total size of the drive.

public string VolumeLabel { get; }

Gets the volume label of the drive.

public DriveInfoWrap(DriveInfo driveInfo)

Initializes a new instance of DriveInfoWrap wrapping the provided DriveInfo.

public DriveInfoWrap()

Initializes a new, empty, instance of DriveInfoWrap.

public IDriveInfo[] GetDrives()

Retrieves the drive names of all logical drives on a computer.

public Type GetType()

Gets the System.Type of this DriveInfoWrap.