Initializes a ZipArchive object with the specified ZIP archive stream.

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Sub New ( _
	zipStream As Stream _
)
C#
public ZipArchive(
	Stream zipStream
)

Parameters

zipStream
Type: System.IO..::..Stream
A readable/seekable stream containing a ZIP archive or empty writable/seekable stream where to create a new ZIP archive.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionzipStream is null.
System..::..ArgumentExceptionSpecified stream is not seekable or readable.
System.IO..::..IOExceptionAn I/O error occurred.
Rebex.IO.Compression..::..ZipExceptionArchive cannot be opened (see ProblemType for detailed information).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also