Answered by:
Read and Create Zip-File with password

Question
-
My Windows Store App gets a password protected ZIP file from a WebService and needs to read the files in it. Then it works with the data and in the end it creates a ZIP file to send back to the Service. I implemented this scenario with the Ionic.Zip.dll (http://dotnetzip.codeplex.com) the same way as it was used in a Windows Desktop Application and it works perfectly.
However, when I run the App Certification Kit, it states that some APIs used by Ionic.dll are not supported in Store Apps.
Do you know any other Libraries I can use to read and create password protected ZIP files with my Store App, so that I can put the App in the Store?
If there are any, could you please provide some code how I can extract certain files from the ZIP and how to create a new ZIP.Wednesday, July 9, 2014 12:49 PM
Answers
-
I know that there are commercial libraries which implement encrypted zip for Windows Store apps, but I'm not aware of any free ones. Somebody else may have suggestions or you can check in your favourite search engine.
--Rob
- Marked as answer by Jamles HezModerator Friday, July 18, 2014 7:54 AM
Wednesday, July 9, 2014 7:31 PMModerator
All replies
-
I know that there are commercial libraries which implement encrypted zip for Windows Store apps, but I'm not aware of any free ones. Somebody else may have suggestions or you can check in your favourite search engine.
--Rob
- Marked as answer by Jamles HezModerator Friday, July 18, 2014 7:54 AM
Wednesday, July 9, 2014 7:31 PMModerator -
Thanks for your answer Rob.
Of course I searched a lot already, but the most recommended library is the one I'm currently using... I also found a NuGet download especially for Store Apps, but the App Certification Test fails nonetheless.
Honestly, I'm a bit desperate because development of my Store App is now in the final state. It took quite a while and it's now finally running smoothly - only to be stopped by the Certification Kit because I'm using a wrong (but working) library...
I wonder if there is no one who needed Zip-Files with passwords in a Store App?
Thursday, July 10, 2014 7:17 AM -
As I noted, there are commercial libraries which implement encrypted zip for Windows Store apps. The search I linked found at least one. There may be others.
--Rob
Thursday, July 10, 2014 5:05 PMModerator