TarEntry

TarEntry class

Represents single file within tar archive.

public class TarEntry

Properties

Name Description
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

Name Description
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