RAR Extractor for .NET
Extract encrypted or not RAR archive with Aspose.ZIP Product Family
Features:
1. Open RAR archive by path or from stream.
2. Supports RAR4 and RAR5 formats.
3. Can decrypt password-protected file.
Extract RAR archive
RAR archives are widely used for universal data compression and encryption.
Sample code for extracting whole RAR archive to directory by path
 | 
 | 
Sample code for extracting the first entry of RAR archive to stream
 | 
 | 
How to extract RAR via .NET
- Reference Aspose.ZIP in your project
 - Set license
 - Create instance of RarArchive class
 - Pass path to archive as the parameters
 - Call ExtractToDirectory() to extract all entries
 
System Requirements
Just make sure that you have the following prerequisites.
- Microsoft Windows or a compatible OS with .NET Framework or .NET Core
 - Development environment like Microsoft Visual Studio.
 - Aspose.ZIP for .NET DLL referenced in your project.