Xceed Real-Time Zip for .NET Documentation
Xceed.Zip Assembly / Xceed.Zip.ReaderWriter Namespace / ZipWriter Class
Members


In This Topic
    ZipWriter Class
    In This Topic
    Represents an object used to create and write to a Zip file passed to it as a stream.
    Syntax
    'Declaration
     
    Public Class ZipWriter 
       Implements System.IDisposable 
    'Usage
     
    Dim instance As ZipWriter
    public class ZipWriter : System.IDisposable  
    Inheritance Hierarchy

    System.Object
       Xceed.Zip.ReaderWriter.ZipWriter

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the ZipWriter class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets a manager object for the AES encryption functionality.  
    Public PropertyGets or sets a boolean value indicating whether the output stream can be closed by the object.  
    Public PropertyGets or sets a boolean value indicating whether the ZipWriter is allowed to write true uncompressed data in the Zip archive.  
    Public PropertyGets a boolean value indicating whether Zip64 extensions of the Zip specification are enabled.  
    Public Property  
    Public Property  
    Public PropertyGets the output Stream object that was specified at construction.  
    Public PropertyGets or sets the text encoding that will be applied to files that are added to the zip archive.  
    Public Property  
    Public Property  
    Public PropertyGets or sets a System.Boolean value that indicates whether the currently selected compression and decompression methods can use "unsafe" techniques like pointers to increase speed.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Closes the Zip file by writing the data descriptor for the last item and then writing the central header, the end header locator (optionally, for Zip64), and the end header.  
    Public MethodOverloaded. 

    Provides correct cleanup of resources in the base class and its derived classes.

     
    Public MethodReturns a new Stream object that implements a write-only stream around the WriteItemData method.  
    Public MethodOverloaded.   
    Public MethodOverloaded. Writes a sequence of bytes to the ZipWriter object's stream and advances the position within the stream by the number of bytes written.  
    Public MethodWrites a local header to the Zip file.  
    Top
    Public Events
     NameDescription
    Public EventRaised when WriteItemData has been called.  
    Top
    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