Extracting RAR Archives

Overview

Aspose.ZIP API lets extract archives in your applications without the need of any other 3rd party applications. Aspose.ZIP API provides RarArchive class to work with RAR archives.  API provides the RarArchiveEntryclass to represents a single file within the RAR archive.

Extract an Entry

The following code example demonstrates how to extract an entry using RarArchive instance.

Extract an Encrypted Entry

The following code example demonstrates how to extract an encrypted entry using RarArchive instance.

Extracting Compressed Directory

The following code example demonstrates how to all the files from RarArchive instance.