Class LzmaArchive

LzmaArchive class

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

public class LzmaArchive : IArchive, IArchiveFileEntry

Constructors

NameDescription
LzmaArchive(LzmaArchiveSettings)Initializes a new instance of the LzmaArchive class and composes the archive in lzma format.
LzmaArchive(Stream)Initializes a new instance of the LzmaArchive class prepared for decompressing.
LzmaArchive(string)Initializes a new instance of the LzmaArchive class prepared for decompressing.

Methods

NameDescription
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Extract(FileInfo)Extracts lzma archive to a file.
Extract(Stream)Extracts lzma archive to a stream.
Extract(string)Extracts lzma archive to a file by path.
ExtractToDirectory(string)Extracts content of the archive to the directory provided.
Save(FileInfo)Saves lzma archive to destination file provided.
Save(Stream)Saves lzma archive to the stream provided.
Save(string)Saves lzma 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