• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 629
  • Last Modified:


Hi Experts,
I need to make .NET app wich will extract files from RAR compresor
The question is:
Is there any RAR dll or any .NET integrated library thant I can use for that task.
I found libraries from ZIP format but nothing for RAR
Thanks in advance
1 Solution
Can you run WinRar itself using command line switches?
When u install winrar you also get rar.exe which is the command line version.  However kicking it off means you end up with a command prompt flashing onto the screen which is just plain ugly.  Not only that but it also means it's hard to actually determine what exactly is happening because you don't have direct control of the rar.exe.  If you are willing to settle for zipping things instead (not THATmuch difference in compression ratios and u don't have to worry about customers not having winrar) you should look for ICSharpCode.SharpZipLib, it's free and works like a charm.  Well except in web pages and the .NET IDE I sometimes get an access denied to ICSharpCode.SharpZipLib.dll for some stupid reason, but all you need to do is stop and then start again.  For my site it happens about 1 in 5 runs, but only in the .Net IDE, the website works 100%.

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now