FindMyFiles

FindMyFiles.Engine

VolumeStatus Class

A volume's current index status — the payload of an VolumeUpdated event and of GetStatusAsync(CancellationToken).

public sealed record VolumeStatus : System.IEquatable<FindMyFiles.Engine.VolumeStatus>

Inheritance System.Object → VolumeStatus

Implements System.IEquatable<VolumeStatus>

Constructors

VolumeStatus(string, VolumeState, ulong) Constructor

A volume's current index status — the payload of an VolumeUpdated event and of GetStatusAsync(CancellationToken).

public VolumeStatus(string Label, FindMyFiles.Engine.VolumeState State, ulong Entries);

Parameters

Label System.String

Drive label (e.g. "C:").

State VolumeState

Where the index is in its lifecycle.

Entries System.UInt64

Indexed entry count so far (grows while Scanning).

Properties

VolumeStatus.Entries Property

Indexed entry count so far (grows while Scanning).

public ulong Entries { get; init; }

Property Value

System.UInt64

VolumeStatus.Label Property

Drive label (e.g. "C:").

public string Label { get; init; }

Property Value

System.String

VolumeStatus.State Property

Where the index is in its lifecycle.

public FindMyFiles.Engine.VolumeState State { get; init; }

Property Value

VolumeState