.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ZipArchive.Read Method

Name Parameters Description
Read(Stream) static stream Static method that creates a ZipArchive instance from the specified stream containing zipped data.
Read(Stream, Encoding) static stream, encoding Static method that creates a ZipArchive instance from the specified stream containing zipped data.
Read(Stream, Encoding, Boolean) static stream, encoding, catchExceptions Static method that creates a ZipArchive instance from the specified stream containing zipped data, use the specified encoding for the zip item names and allows you not to catch exceptions when extracting a particular zip entry.
Read(String) static fileName Static method that creates a ZipArchive instance from the specified archive file.
Read(String, Encoding) static fileName, encoding Static method that creates a ZipArchive instance from the specified archive file.
Read(String, Encoding, Boolean) static fileName, encoding, catchExceptions Static method that creates a ZipArchive instance from the archive file, uses the specified encoding for the zip item names and allows you not to catch exceptions when extracting a particular zip entry.