I'm creating a password protected zip-file using DotNetZip. When I try to extract the files I'm met with an "unspecified error". Why is that?
using (var zipFile = new ZipFile())
{
zipFile.Encryption = EncryptionAlgorithm.WinZipAes256;
zipFile.Password = "pangolin";
foreach(var file in someFileCollection)
{
zipFile.AddEntry(file.Name, file.Stream);
}
zipFile.Save(aPathOnDisk);
}