How to determine, if archive is encrypted?

Jun 11, 2014 at 5:21 AM
Edited Jun 11, 2014 at 5:21 AM
Hello!
I have a problem. Here is my "if" section:
if (zip.Encryption == EncryptionAlgorithm.WinZIpAes256)
...
Archive is encrypted, but this section does not simply execute...

What I am doing wrong?

Thanks for answers,
VitekST