DriveSnapshot Class

Represents a snapshot of a disk drive including name, format, type, free space, and total size.

public sealed class DriveSnapshot

Properties

NameDescription
AvailableFreeSpace
DriveFormat
DriveType
IsReady
Name
RootDirectory
TotalFreeSpace
TotalSize
VolumeLabel

AvailableFreeSpace

DriveSnapshot.cs
public long AvailableFreeSpace { get; }

Property value

long

No documentation is available.

DriveFormat

DriveSnapshot.cs
public string? DriveFormat { get; }

Property value

string?

No documentation is available.

public DriveType DriveType { get; }

Property value

DriveType

No documentation is available.

public bool IsReady { get; }

Property value

bool

No documentation is available.

public string? Name { get; }

Property value

string?

No documentation is available.

RootDirectory

DriveSnapshot.cs
public string? RootDirectory { get; }

Property value

string?

No documentation is available.

TotalFreeSpace

DriveSnapshot.cs
public long TotalFreeSpace { get; }

Property value

long

No documentation is available.

public long TotalSize { get; }

Property value

long

No documentation is available.

VolumeLabel

DriveSnapshot.cs
public string? VolumeLabel { get; }

Property value

string?

No documentation is available.