Posted on 2006-03-28
Last Modified: 2008-02-01
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
Question by:TeKKeD
    LVL 48

    Expert Comment

    Can you run WinRar itself using command line switches?
    LVL 11

    Accepted Solution

    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

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
    In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    This video discusses moving either the default database or any database to a new volume.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now