ComponentOne Zip for .NET 2.0
C1.Zip Assembly / C1.Zip Namespace / C1ZipEntryCollection Class / OpenWriter Method / OpenWriter(String,Boolean) Method
The name of the new entry.
Whether to use a memory stream or temporary file.

In This Topic
    OpenWriter(String,Boolean) Method
    In This Topic
    Opens a stream for writing an entry into the zip file.
    Syntax
    Public Overloads Function OpenWriter( _
       ByVal entryName As String, _
       ByVal useMemory As Boolean _
    ) As Stream
    public Stream OpenWriter( 
       string entryName,
       bool useMemory
    )

    Parameters

    entryName
    The name of the new entry.
    useMemory
    Whether to use a memory stream or temporary file.

    Return Value

    A stream that can be used to write data into the zip file. The entry is not added until the stream is closed.
    See Also