Class RarArchive

RarArchive class

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

public class RarArchive : IArchive

Constructors

NameDescription
RarArchive(Stream, RarArchiveLoadOptions)Initializes a new instance of the RarArchive class and composes entries list can be extracted from the archive.
RarArchive(string, RarArchiveLoadOptions)Initializes a new instance of the RarArchive class and composes entries list can be extracted from the archive.

Properties

NameDescription
Entries { get; }Gets entries of RarArchiveEntry type constituting the rar archive.

Methods

NameDescription
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
ExtractToDirectory(string)Extracts all the files in the archive to the directory provided.

See Also