ArchiveEntry class

Represents single file within archive.

public abstract class ArchiveEntry


Name Description
CompressedSize { get; } Gets size of compressed file.
CompressionSettings { get; } Gets settings for compression or decompression.
IsDirectory { get; } Gets a value indicating whether the entry represents directory.
ModificationTime { get; set; } Gets or sets last modified date and time.
Name { get; } Gets name of the entry within archive.
UncompressedSize { get; } Gets size of original file.


Name Description
Extract(Stream, string) Extracts the entry to the stream provided.
Extract(string, string) Extracts the entry to the filesystem by the path provided.
Open(string) Opens the entry for extraction and provides a stream with decompressed entry content.


Cast an ArchiveEntry instance to ArchiveEntryEncrypted to determine whether the entry encrypted or not.

See Also