Can you please post here the code you are trying to execute? Please include whole method to see the context.
Please note the underlying stream is closed when the ZipArchive
is closed. To override this functionality please use the ArchiveStreamCloseMode.LeaveOpen
argument in the constructor.