7zSharp to your .Net Archive/Unarchiving Rescue - LGPL .Net Wrapper for 7z
"7zSharp is a .NET 2.0 LGPL wrapper around the 7z LZMA SDK and executable written in C#, providing a library (DLL) wrapper and simplified API to encode and decode using the 7z library.
Ability to encode: 7z (.7z), ZIP (.zip), GZIP (.gz), BZIP2 (.bz2) and TAR (.tar)
Ability to decode: 7z (.7z), ZIP (.zip), GZIP (.gz), BZIP2 (.bz2) and TAR (.tar), RAR (.rar), CAB (.cab), ISO (.iso), ARJ (.arj), LZH (.lzh), CHM (.chm), Z (.Z), CPIO (.cpio), RPM (.rpm), DEB (.deb), NSIS (.nsis)
Example:
// encode:
CompressionEngine.Current.Encoder.EncodeFromDirectory(@"C:\someDirectory", "C:\out\someDirectory.7z");
// decode:
CompressionEngine.Current.Decoder.DecodeIntoDirectory(@"C:\out\someDirectory.zip", "C:\someDirectory");"[Wikipage leached in full]
7-Zip is my current fav archive/compressed file handler.
Also funny enough, I was looking at wrapping into an assembly for usage in a .Net (and even VB6 app). But luckily enough someone beat me too it (as I was going to do a much lamer command line stdout implementation ;).
So this is a project I'll be watching and playing with...
1 comment:
It may be interesting to you... SevenZipSharp is a bit more powerful at the moment.
Post a Comment