Table of Contents

Class PasswordPromptInfo

Namespace
Archiver.Core.Models
Assembly
Archiver.Core.dll

Passed to ResolvePasswordAsync/ResolvePasswordAsync once per archive, before the entry loop runs — never once per entry (see docs/TASKS.md's T-F189 entry).

public sealed record PasswordPromptInfo : IEquatable<PasswordPromptInfo>
Inheritance
PasswordPromptInfo
Implements
Inherited Members

Properties

ArchiveName

public required string ArchiveName { get; init; }

Property Value

string

AttemptNumber

1-based; retried attempts increment this so a UI can show "attempt 2 of 3".

public int AttemptNumber { get; init; }

Property Value

int

PreviousAttemptWasWrong

True from the second attempt onward, when the previous password was rejected.

public bool PreviousAttemptWasWrong { get; init; }

Property Value

bool

Purpose

public required PasswordPurpose Purpose { get; init; }

Property Value

PasswordPurpose