Skip to main content

ZipArchive.Read Method

Name Parameters Description
Read(Stream, SecureZipPolicy.ResourceLimits) static stream, resourceLimits Reads a ZIP archive from a file and returns a ZipArchive object.
Read(Stream, Encoding, SecureZipPolicy.ResourceLimits) static stream, encoding, resourceLimits Reads a ZIP archive from a stream and returns a ZipArchive object.
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(Stream, Encoding) static stream, encoding Static method that creates a ZipArchive instance from the specified stream containing zipped data.
Read(Stream) static stream Static method that creates a ZipArchive instance from the specified stream containing zipped data.
Read(String, SecureZipPolicy.ResourceLimits) static fileName, resourceLimits Reads a ZIP archive from a file and returns a ZipArchive object.
Read(String, Encoding, SecureZipPolicy.ResourceLimits) static fileName, encoding, resourceLimits Reads a ZIP archive from a file and returns a ZipArchive object.
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.
Read(String, Encoding) static fileName, encoding Static method that creates a ZipArchive instance from the specified archive file.
Read(String) static fileName Static method that creates a ZipArchive instance from the specified archive file.