Xceed .NET Libraries Documentation
ZipReader Constructor(Stream,Boolean)


Xceed.Zip Assembly > Xceed.Zip.ReaderWriter Namespace > ZipReader Class > ZipReader Constructor : ZipReader Constructor(Stream,Boolean)
The stream from which the zip archive will be read.
A value indicating whether the input stream can be closed by the object.
Initializes a new instance of the ZipReader class using the specified input stream, an empty decryption password, and optionally allowing the object to close the input stream.
Syntax
'Declaration
 
Public Function New( _
   ByVal inputStream As Stream, _
   ByVal allowInputStreamClosure As Boolean _
)
'Usage
 
Dim inputStream As Stream
Dim allowInputStreamClosure As Boolean
 
Dim instance As New ZipReader(inputStream, allowInputStreamClosure)
public ZipReader( 
   Stream inputStream,
   bool allowInputStreamClosure
)

Parameters

inputStream
The stream from which the zip archive will be read.
allowInputStreamClosure
A value indicating whether the input stream can be closed by the object.
Remarks
See the remarks of the AllowInputStreamClosure property for details on the implication of the allowInputStreamClosure parameter.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ZipReader Class
ZipReader Members
Overload List