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.
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