ComponentOne Zip for UWP
OpenWriter(String,DateTime,Boolean) Method

C1.UWP.Zip Assembly > 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.
Opens a stream for writing an entry into the zip file.
Syntax
'Declaration
 
Public Overloads Function OpenWriter( _
   ByVal entryName As System.String, _
   ByVal dateTime As System.Date, _
   ByVal useMemory As System.Boolean _
) As System.IO.Stream
public System.IO.Stream OpenWriter( 
   System.string entryName,
   System.DateTime dateTime,
   System.bool useMemory
)

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

Reference

C1ZipEntryCollection Class
C1ZipEntryCollection Members
Overload List