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


Xceed.Zip Assembly > Xceed.Zip.ReaderWriter Namespace > ZipReader Class > ZipReader Constructor : ZipReader Constructor(Stream,Boolean,String)
The stream from which the zip archive will be read.
A value indicating whether the input stream can be closed by the object.
The password used to decrypt the Zip file.
Initializes a new instance of the ZipReader class using the specified input stream, 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, _
   ByVal decryptionPassword As String _
)
'Usage
 
Dim inputStream As Stream
Dim allowInputStreamClosure As Boolean
Dim decryptionPassword As String
 
Dim instance As New ZipReader(inputStream, allowInputStreamClosure, decryptionPassword)
public ZipReader( 
   Stream inputStream,
   bool allowInputStreamClosure,
   string decryptionPassword
)

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.
decryptionPassword
The password used to decrypt the Zip file.
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