LzipArchive

LzipArchive class

This class represents Lzip archive file. Use it to compose or extract Lzip archives.

public class LzipArchive : IArchive, IArchiveFileEntry

Constructors

NameDescription
LzipArchive(LzipArchiveSettings)Initializes a new instance of the LzipArchive.
LzipArchive(Stream)Initializes a new instance of the LzipArchive class prepared for decompressing.
LzipArchive(string)Initializes a new instance of the LzipArchive class prepared for decompressing.

Properties

NameDescription
Settings { get; }Gets the setting of particular lzip archive.

Methods

NameDescription
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Extract(FileInfo)Extracts lzip archive to a file.
Extract(Stream)Extracts lzip archive to a stream.
Extract(string)Extracts lzip archive to a file by path.
ExtractToDirectory(string)Extracts content of the archive to the directory provided.
Save(FileInfo)Saves lzip archive to destination file provided.
Save(Stream)Saves lzip archive to the stream provided.
Save(string)Saves lzip archive to destination file provided.
SetSource(FileInfo)Sets the content to be compressed within the archive.
SetSource(Stream)Sets the content to be compressed within the archive.
SetSource(string)Sets the content to be compressed within the archive.

See Also