# Rar5ArchiveEntry

Metadata from the primary RAR5 file headers.

Class 

`OfficeIMO.Archives`

**Namespace**

`OfficeIMO.Archives`

**Assembly**

`OfficeIMO.Archives`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[Rar5ArchiveEntry.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L22)

**Modifiers**

sealed

Metadata from the primary RAR5 file headers.

## Inheritance

- object
- Rar5ArchiveEntry

## Usage

Explore 2 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 2

- Method [ArchiveReader.ListRar5](/api/archives/officeimo-archives-archivereader/#method-listrar5-io-stream-officeimo-archives-archivereadoptions-threading-cancellationtoken)
- Property [Rar5ArchiveInfo.Entries](/api/archives/officeimo-archives-rar5archiveinfo/#property-entries)

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 int Ordinal { get; }` [#](#property-ordinal)

[Rar5ArchiveEntry.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L22)

Zero-based position of the logical entry in the primary file headers.

`public string Name { get; }` [#](#property-name)

[Rar5ArchiveEntry.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L24)

Exact UTF-8 member name as decoded from the archive.

`public string RelativePath { get; }` [#](#property-relativepath)

[Rar5ArchiveEntry.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L26)

Validated portable member path.

`public ArchiveEntryKind Kind { get; }` [#](#property-kind)

[Rar5ArchiveEntry.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L28)

File, directory, link or special member kind.

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

[Rar5ArchiveEntry.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L30)

Uncompressed member size declared in the header.

`public long PackedLength { get; }` [#](#property-packedlength)

[Rar5ArchiveEntry.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L32)

Total stored member data size over all volumes.

`public int CompressionMethod { get; }` [#](#property-compressionmethod)

[Rar5ArchiveEntry.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L34)

RAR5 method number. Zero indicates a stored member.

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

[Rar5ArchiveEntry.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L36)

Declared dictionary size in bytes, or zero for a stored entry.

`public Rar5FileTimes Times { get; }` [#](#property-times)

[Rar5ArchiveEntry.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L38)

Modification, creation and access times carried by the entry.

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

[Rar5ArchiveEntry.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L40)

UTC modification time, if present, rounded down to the nearest tick.

`public Rar5UnixOwner? UnixOwner { get; }` [#](#property-unixowner)

[Rar5ArchiveEntry.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L42)

Owner and group as recorded in the archive. Extraction does not apply ownership.

`public Rar5Redirection? Redirection { get; }` [#](#property-redirection)

[Rar5ArchiveEntry.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L44)

Authored archive redirection. Extraction never creates or follows filesystem links.

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

[Rar5ArchiveEntry.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Archives/Rar5ArchiveEntry.cs#L46)

Whether the declared member profile can return file bytes. Listing alone does not check those bytes.

<!-- PowerForge markdown artifact sha256:6A233871B49AC27D55A07E6E9EDD99DF3C1A11B3CCB826AB168000C730336427 -->
