RarArchive

RarArchive class

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

public class RarArchive : IDisposable

Constructors

Name Description
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

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

Methods

Name Description
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