Class ChdHashComputeResult

Namespace
CHDSharp.Models
Assembly
CHDSharpLib.dll
public sealed record ChdHashComputeResult : IEquatable<ChdHashComputeResult>
Inheritance
ChdHashComputeResult
Implements
Inherited Members

Constructors

ChdHashComputeResult(ChdError, IReadOnlyList<ChdHashResult>)

Creates a new ChdHashComputeResult with the given error and results.

public ChdHashComputeResult(ChdError error, IReadOnlyList<ChdHashResult> results)

Parameters

error ChdError
results IReadOnlyList<ChdHashResult>

Properties

Error

The error code indicating success or failure of the operation.

public ChdError Error { get; }

Property Value

ChdError

IsSuccess

true if the operation completed successfully (Error is Chderrnone).

public bool IsSuccess { get; }

Property Value

bool

Results

Computed hash results, one per region (track or whole image). Empty on error.

public IReadOnlyList<ChdHashResult> Results { get; }

Property Value

IReadOnlyList<ChdHashResult>