Feb 10, 2014 at 5:53 AM
Edited Feb 10, 2014 at 5:55 AM
When I use the below code zip file is created but when I unzip it from F drive in unzipped without asking password and also without any encryption.
I restore that database and I was successful in restoring it.
I added dotnetzip library from nuget after installing it names as Ionic.Zip and its version is 22.214.171.124 and Runtime version is v2.0.50727
My project is empty asp.net application in VS 2013 and my operating system is windows 8
What I am doing wrong.
Used code from this URL
Create a Zip archive that uses WinZip-compatible AES encryption.
My code is this
using (ZipFile zip = new ZipFile())
zip.CompressionLevel = Ionic.Zlib.CompressionLevel.BestCompression;
zip.Password = "123456";
zip.Encryption = EncryptionAlgorithm.WinZipAes256;