In my application I have a class manipulating with zip archive using System.IO.Compression.ZipArchive
.
Now I want to save the entries of the archive to file. How can I do that? I know I can associate a Stream
with archive but in my case the archive creates w/o streams and I can't change the code:
var archive = ZipFile.Open(fileName, ZipArchiveMode.Create);
// add entries
// how can I save it to file now?