SevenZipArchiveEntry

SevenZipArchiveEntry class

Represents single file within 7z archive.

public abstract class SevenZipArchiveEntry

Properties

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.
Name { get; } Gets name of the entry within archive.
UncompressedSize { get; } Gets size of original file.

Methods

Name Description
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 entry content.

Remarks

Cast an SevenZipArchiveEntry instance to SevenZipArchiveEntryEncrypted to determine whether the entry encrypted or not.

See Also