# ArchiveEntry

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

Class 

`OfficeIMO.Archives`

**Namespace**

`OfficeIMO.Archives`

**Assembly**

`OfficeIMO.Archives`

**Source revision**

`0ec96f8dbe73` with working tree changes

**Source**

[ArchiveEntry.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L33)

**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.

### Returned or exposed by 6

- Property [ArchiveEntryData.Entry](/api/archives/officeimo-archives-archiveentrydata/#property-entry)
- Property [ArchiveInspection.Entries](/api/archives/officeimo-archives-archiveinspection/#property-entries)
- Property [ArchiveMemberVerification.Entry](/api/archives/officeimo-archives-archivememberverification/#property-entry)
- Property [ArchiveReadMember.Entry](/api/archives/officeimo-archives-archivereadmember/#property-entry)
- Property [ArchiveReadPlan.Entries](/api/archives/officeimo-archives-archivereadplan/#property-entries)
- Property [ArchiveTraversalResult.Entries](/api/archives/officeimo-archives-archivetraversalresult/#property-entries)

### Accepted by parameters 1

- Method [ArchiveInspection.ReadFiles](/api/archives/officeimo-archives-archiveinspection/#method-readfiles-func-officeimo-archives-archiveentry-system-boolean-threading-cancellationtoken) parameter `include`

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Path { get; }` [#](#property-path)

[ArchiveEntry.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L33)

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; }` [#](#property-kind)

[ArchiveEntry.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L35)

Kind of the authored member.

`public bool IsDirectory { get; }` [#](#property-isdirectory)

[ArchiveEntry.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L37)

Whether the record declares a directory.

`public string? LinkTarget { get; }` [#](#property-linktarget)

[ArchiveEntry.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L39)

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

`public int? UnixMode { get; }` [#](#property-unixmode)

[ArchiveEntry.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L41)

Unix permission bits carried by the member, when available.

`public long? CompressedLength { get; }` [#](#property-compressedlength)

[ArchiveEntry.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L43)

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

`public DateTimeOffset? LastWriteTime { get; }` [#](#property-lastwritetime)

[ArchiveEntry.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L45)

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

`public int Ordinal { get; }` [#](#property-ordinal)

[ArchiveEntry.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L47)

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

`public string RawName { get; }` [#](#property-rawname)

[ArchiveEntry.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L49)

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

`public string? RawFileName { get; }` [#](#property-rawfilename)

[ArchiveEntry.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L51)

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

`public string? AuthoredPath { get; }` [#](#property-authoredpath)

[ArchiveEntry.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L53)

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

`public long Length { get; }` [#](#property-length)

[ArchiveEntry.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L55)

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

`public string? CabinetName { get; }` [#](#property-cabinetname)

[ArchiveEntry.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L57)

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

`public int? CabinetOrdinal { get; }` [#](#property-cabinetordinal)

[ArchiveEntry.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L60)

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; }` [#](#property-sequence)

[ArchiveEntry.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L62)

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

`public ArchiveCompression Compression { get; }` [#](#property-compression)

[ArchiveEntry.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L64)

Declared member or containing folder compression.

`public ushort? RawCompression { get; }` [#](#property-rawcompression)

[ArchiveEntry.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L66)

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

`public int? FolderOrdinal { get; }` [#](#property-folderordinal)

[ArchiveEntry.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L68)

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

`public int? Rar5SolidGroupOrdinal { get; }` [#](#property-rar5solidgroupordinal)

[ArchiveEntry.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L71)

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; }` [#](#property-foldercompressedbytes)

[ArchiveEntry.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L73)

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

`public long? FolderExpandedBytes { get; }` [#](#property-folderexpandedbytes)

[ArchiveEntry.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L75)

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

`public int? FolderFrameCount { get; }` [#](#property-folderframecount)

[ArchiveEntry.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L77)

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

`public int? FolderChecksumFrameCount { get; }` [#](#property-folderchecksumframecount)

[ArchiveEntry.cs:80](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L80)

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; }` [#](#property-creationtime)

[ArchiveEntry.cs:82](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L82)

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

`public DateTimeOffset? LastAccessTime { get; internal set; }` [#](#property-lastaccesstime)

[ArchiveEntry.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L84)

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

`public ArchiveOwner? Owner { get; internal set; }` [#](#property-owner)

[ArchiveEntry.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L86)

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

`public ArchiveLinkKind? LinkKind { get; internal set; }` [#](#property-linkkind)

[ArchiveEntry.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L88)

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

`public bool LinkTargetIsDirectory { get; internal set; }` [#](#property-linktargetisdirectory)

[ArchiveEntry.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L90)

Whether the authored link target is declared as a directory.

`public long? DictionarySize { get; internal set; }` [#](#property-dictionarysize)

[ArchiveEntry.cs:92](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L92)

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

`public bool CanRead { get; }` [#](#property-canread)

[ArchiveEntry.cs:94](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L94)

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

`public ArchiveInspectionDiagnostic? Diagnostic { get; }` [#](#property-diagnostic)

[ArchiveEntry.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Archives/ArchiveEntry.cs#L96)

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

<!-- PowerForge markdown artifact sha256:CB44EBA09319D3E56316F51B6A45493CC3CEC8C53D654151082ECFF03D2E9DC3 -->
