hi suggest me to read password protected zip file using c#
+2
A:
You can find the older discussion here. It contains all the necessary resources.
Chathuranga Chandrasekara
2010-01-04 08:18:51
+1
A:
DotNetZip is a free open-source library for working with zip files. It supports password protected files so it should be just what you are after.
Rune Grimstad
2010-01-04 08:19:35
A:
Following code shows how to decompress a password protected ZIP archive using our Rebex ZIP component.
// open a ZIP archive
using (ZipArchive zip = new ZipArchive(@"C:\archive.zip", ArchiveOpenMode.Open))
{
// set the Password first
zip.Password = "PASSword#123";
// extract whole ZIP content
zip.ExtractAll(@"C:\Data");
}
Free SharpZipLib might a be viable alternative (if you don't mind that it's licensed under LGPL).
Martin Vobr
2010-10-12 18:02:36