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


Xceed.Zip Assembly > Xceed.Zip.ReaderWriter Namespace > ZipWriter Class > ZipWriter Constructor : ZipWriter Constructor(Stream,Boolean,Boolean)
The stream to which the zip archive will be written.
A value indicating whether Zip64 extensions will be used in the resulting archive.
A value indicating whether the output stream can be closed by the object.
Initializes a new instance of the ZipWriter class using the specified output stream, optionally using Zip64 extensions in the resulting archive, optionally allowing the object to close the output stream, and optionally allowing the object to close the output stream.
Syntax
'Declaration
 
Public Function New( _

   ByVal outputStream As Stream, _

   ByVal allowZip64Extensions As Boolean, _

   ByVal allowOutputStreamClosure As Boolean _

)
'Usage
 
Dim outputStream As Stream

Dim allowZip64Extensions As Boolean

Dim allowOutputStreamClosure As Boolean

 

Dim instance As New ZipWriter(outputStream, allowZip64Extensions, allowOutputStreamClosure)
public ZipWriter( 

   Stream outputStream,

   bool allowZip64Extensions,

   bool allowOutputStreamClosure

)

Parameters

outputStream
The stream to which the zip archive will be written.
allowZip64Extensions
A value indicating whether Zip64 extensions will be used in the resulting archive.
allowOutputStreamClosure
A value indicating whether the output stream can be closed by the object.
Remarks

See the remarks of the AllowZip64Extensions property for details on the implication of the allowZip64Extensions parameter.

See the remarks of the AllowOutputStreamClosure property for details on the implication of the allowOutputStreamClosure 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

ZipWriter Class
ZipWriter Members
Overload List