Feb 10, 2014 at 6:53 AM
Edited Feb 10, 2014 at 6: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 220.127.116.11 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;