Password protected Zip File only works with a specific library

  7zip, c++, zip

I am working with a zip file that is password protected. I’ve got the password and am able to extract the contents only when I use a C++ zip library called minizip-ng, which appears to be the library that was used to create the zip. When I try to extract it with a C# library or zip program like 7zip/Winrar it doesn’t work – when I try to look at/extract the contents of the zip it says "Bad Password", even though it works with that one C++ library

Ideally I’d like to be able to use C# to read/modify the contents of the zip file without having to extract it.

Any thoughts on this issue would be appreciated. Thank you for taking the time to read this.

Source: Windows Questions C++

LEAVE A COMMENT