Zip for WPF and Silverlight
C1.C1Zip Namespace / C1ZipEntryCollection Class / OpenWriter Method / OpenWriter(String,DateTime,Boolean) Method
The name of the new entry.
The date and time when the file was last modified.
Whether to use a memory stream or temporary file.

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

    Parameters

    entryName
    The name of the new entry.
    dateTime
    The date and time when the file was last modified.
    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