This project is read-only.

Ionic.Zip.ZipException C#

Aug 17, 2017 at 8:11 AM

I have this code to decrypt and unzip my files but i get an error on my extractall that ionic zip is not supported by DotNetZip: PKWare AES256?

Any solutions?

foreach (var file in Directory.GetFiles(inPath, "*.zip"))
            string dest = file;

            //Decrypt file using Ionic.Zip.dll.
            using (ZipFile zfile = ZipFile.Read(file))
                zfile.Password = "";                   


            dest = Path.Combine(donePath, Path.GetFileName(file));

            if (File.Exists(dest))

            //Move the zip file to Done leaving the unzipped file for handling.
            File.Move(file, dest);
Ionic.Zip.ZipException: Cannot extract: Entry O_DTE4837_FT_3_1608001213_S_160817_011460 is encrypted with an algorithm not supported by DotNetZip: PKWare AES256