ZipArchive Constructor (Stream, ZipArchiveMode)
Initializes a new instance of the ZipArchive class from the specified stream and with the specified mode.
Assembly: System.IO.Compression (in System.IO.Compression.dll)
The stream is already closed, or the capabilities of the stream do not match the mode.
stream is nullptr.
mode is an invalid value.
The contents of the stream could not be interpreted as a zip archive.
mode is Update and an entry is missing from the archive or is corrupt and cannot be read.
mode is Update and an entry is too large to fit into memory.