[UWP][JS] How can I compress an entire folder?


  • Can I use the Windows.Storage.Compression Namespace to compress an entire directory and its contents?

    I've looked at the samples, and it only demonstrates how to compress one or multiple files, but it doesn't show how to compress an entire directory while preserving the folder structure. Even if I were to compress every file in my directory using the method shown in the sample, it would be a flat structure.

    Is there anything like the .NET ZipFile.CreateFromDirectory method that I can use?

    Wednesday, November 7, 2018 5:17 PM