RarArchive

RarArchive class

This class represents RAR archive file. Use it to extract RAR archives.

The RarArchive type exposes the following members:

Constructors

NameDescription
RarArchive(path, load_options)Initializes a new instance of the RarArchive class and composes entries list can be extracted from the archive.
RarArchive(source_stream, load_options)Initializes a new instance of the RarArchive class and composes entries list can be extracted from the archive.

Properties

NameDescription
entriesGets entries of RarArchiveEntry type constituting the rar archive.
file_entriesGets entries of IArchiveFileEntry type constituting the archive.

Methods

NameDescription
extract_to_directory(destination_directory, password)Extracts all the files in the archive to the directory provided.
extract_to_directory(destination_directory)Extracts all the files in the archive to the directory provided.

See Also