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