Reet-Kaur

Results 4 comments of Reet-Kaur

Looking at the code in ZipOutputStream.PutNextEntry(entry), it first checks ``` if (Password != null) { entry.IsCrypted = true; if (entry.Crc < 0) { entry.Flags |= 8; } } ``` and...

![image](https://user-images.githubusercontent.com/40193051/155584198-7efba87e-5141-4716-9f35-7ce271a70258.png) This is really weird, the generated csv file is marked as Password protected = Yes , but when I open the file it doesn't ask me for a password....

I have hard-coded the password for my test. The ZipOutputStream.Password does get set correctly. Ihaven't set any .AESKeySize and the ZipEntry looks like this: ![image](https://user-images.githubusercontent.com/40193051/155857755-a2aae2e8-3f3b-4076-a95e-376788f93041.png) Does it look like that...

Thanks for your response. My old code worked. I had to do 2 things: 1. //zipStream.SetLevel(9); Comment the setLevel 2. entryAes.AESKeySize = 0; // I don't know why this is...