views:

64

answers:

1

I'm writing an application that needs to read the contents of & decompress common file-archival formats, including ZIP, RAR, and 7z. However, I can't seem to find a library that does all this and abstracts the functionality to the level I need, with simple functions in the vein of:

  • ExtractArchive()
  • ExtractArchiveTruncated()
  • ReadArchiveFileTree()
  • SearchArchiveContents()

I don't need (or want) to mess around with the deep technical details of compression and the various formats.

Does anyone know of any such library, or a viable alternative?

Thanks!

+1  A: 

SharpZip is something I have seen mentioned in SO posts multiple times. Xceed also has something for this . These target the dotnet platform

ram
I may be mistaken, but these libraries only seem to deal with ZIP files. I'm looking for something that works with ZIP, RAR, and 7z.
Star-Strewn