Opens a stream for writing an entry into the zip file.

Namespace:  C1.C1Zip
Assembly:  C1.Phone.Zip (in C1.Phone.Zip.dll)

Syntax

C#
public Stream OpenWriter(
	string entryName,
	bool useMemory
)
Visual Basic
Public Function OpenWriter ( _
	entryName As String, _
	useMemory As Boolean _
) As Stream

Parameters

entryName
Type: System..::..String
The name of the new entry.
useMemory
Type: System..::..Boolean
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