Class TarEntry

TarEntry class

Represents single file within tar archive.

public class TarEntry : IArchiveFileEntry

Properties

NameDescription
IsDirectory { get; }Gets a value indicating whether the entry represents directory.
Length { get; }Get length of entry in bytes.
Name { get; set; }Gets or sets name of the entry within archive.

Methods

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

See Also