tags:

views:

2506

answers:

4

Well the title says it all. Is there any way to read the content of a RAR file (support for multi-file RAR is a must)?

I don't want to extract the content to the disk, just read it like a stream.

+1  A: 

Have a look at the following libraries (I did not verify, that they can handle RAR):

and

tanascius
useless if you post links to libraries that don't support rar. (Even if you post a note that you didn't verify)
PoweRoy
The last link explicitly points to a RAR unzipper - btw the same you are linking
tanascius
the last link you edited in. Didn't refresh when i was commenting
PoweRoy
+1  A: 

Chilkat Rar library

More specific: link

PoweRoy
can i read the rar content like a stream with this?
Petoj
Nope. All the examples I looked at was extract to disk.
Nifle
yes: http://www.example-code.com/csharp/rar_list.asp
PoweRoy
That does not read it like a stream is just reads the content file names and puts them in a text box
Petoj
+6  A: 

Low level lib to work with 7z.dll (supports rar archives, incliding multi-part, works with .net streams):

C# (.net) interface for 7-Zip archive dlls

And more high-level lib based on the first one:

SevenZipSharp

arbiter
A: 

I've been wanting to do this for so long that I even forgot to ask on SO. :)

Cheers mate, you read my mind :)

(I wanted to add this as a comment to your question but I don't have enough rep :( )

Vnuk