Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ArchiveEntry

OfficeIMO.Archives

Namespace
OfficeIMO.Archives
Assembly
OfficeIMO.Archives
Source revision
c5330b144ca8 with working tree changes
Modifiers
sealed

One authored archive member, MSI File row or compressed-stream payload. Names and aliases are never coalesced.

Inheritance

  • object
  • ArchiveEntry

Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Properties

public string Path { get; } #

Member path with forward slashes and without leading "./" segments, taken from the authored path or raw name. Directory paths keep their trailing slash. The path is not validated: extraction and traversal reject unsafe paths.

public ArchiveEntryKind Kind { get; } #

Kind of the authored member.

public bool IsDirectory { get; } #

Whether the record declares a directory.

public string? LinkTarget { get; } #

Declared target of a link, when present. Inspection never resolves it.

public int? UnixMode { get; } #

Unix permission bits carried by the member, when available.

public long? CompressedLength { get; } #

Declared packed member bytes, when known independently of a containing folder.

public DateTimeOffset? LastWriteTime { get; } #

ZIP DOS timestamp interpreted with zero offset, without claiming the producer timezone; null when invalid or absent.

public int Ordinal { get; } #

Zero-based ZIP central-directory, CAB CFFILE order or MSI File-table row order, used by OpenRead.

public string RawName { get; } #

Exact decoded ZIP/CAB member name or MSI File identifier, without path normalization.

public string? RawFileName { get; } #

Exact MSI FileName field, including any authored short/long name pair; null for ZIP/CAB.

public string? AuthoredPath { get; } #

Raw decoded ZIP path or assembled authored MSI target path, without evaluating installation properties or conditions; null for CAB.

public long Length { get; } #

Complete declared member size. It is verified again before a member stream is returned.

public string? CabinetName { get; } #

Exact MSI Media cabinet reference, including '#' for embedded cabinets; null for a standalone CAB.

public int? CabinetOrdinal { get; } #

Source CFFILE ordinal within one cabinet or logical origin ordinal within a cabinet set. Null for formats without a cabinet member and MSI entries without a supported embedded source.

public int? Sequence { get; } #

Authored MSI File.Sequence; null for ZIP/CAB.

public ArchiveCompression Compression { get; } #

Declared member or containing folder compression.

public ushort? RawCompression { get; } #

Raw CAB typeCompress field including codec parameters, or ZIP or RAR compression method; null when absent.

public int? FolderOrdinal { get; } #

Zero-based folder ordinal in the source cabinet or logical folder ordinal in a cabinet set.

public int? Rar5SolidGroupOrdinal { get; } #

Source ordinal of the shared RAR5 solid group's first member, including for the first member itself. Null for independent members and other formats.

public long? FolderCompressedBytes { get; } #

Aggregate compressed CFDATA payload bytes for the shared folder, not a per-file compressed size.

public long? FolderExpandedBytes { get; } #

Aggregate declared expansion of the shared folder, including gaps and other members.

public int? FolderFrameCount { get; } #

Number of logical CFDATA decoder frames in the complete containing folder.

public int? FolderChecksumFrameCount { get; } #

Number of logical frames with at least one nonzero physical CAB checksum declaration. A successful read verifies all declared checksums on the frame pieces. These are corruption checks.

public DateTimeOffset? CreationTime { get; internal set; } #

Creation time carried by the member, when the format records one.

public DateTimeOffset? LastAccessTime { get; internal set; } #

Last access time carried by the member, when the format records one.

public ArchiveOwner? Owner { get; internal set; } #

Owner and group recorded in the archive. Extraction never applies ownership.

public ArchiveLinkKind? LinkKind { get; internal set; } #

Kind of authored link or redirection, when the member is one. Extraction never creates or follows links.

public bool LinkTargetIsDirectory { get; internal set; } #

Whether the authored link target is declared as a directory.

public long? DictionarySize { get; internal set; } #

Declared decoder dictionary size in bytes, when the format records one per member.

public bool CanRead { get; } #

True when the declared source and codec can be read. Checksums and decoded integrity are verified by OpenRead.

public ArchiveInspectionDiagnostic? Diagnostic { get; } #

The reason the member cannot be read through this managed inspection profile.