Class XarFileEntry

XarFileEntry class

Represents file entry within xar archive.

public sealed class XarFileEntry : XarEntry, IArchiveFileEntry

Properties

NameDescription
CreationTime { get; }Gets the creation time of the file or directory.
FullPath { get; }Gets a full path of the entry within the archive.
IsDirectory { get; }Gets a value indicating whether the entry represents a directory.
LastAccessTime { get; }Gets the last access time of the file or directory.
Length { get; }Gets the length of the entry in bytes.
ModificationTime { get; }Gets the modification time of the file or directory.
Name { get; }Gets name of the entry within the archive.
Parent { get; }Gets the parent directory the entry belongs to.

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.
override ToString()

Events

NameDescription
event CompressionProgressedRaises when a portion of raw stream compressed.

See Also