[]
Opens a stream for writing an entry into the zip file.
public Stream OpenWriter(string entryName, bool useMemory)
| Type | Name | Description |
|---|---|---|
| string | entryName | The name of the new entry. |
| bool | useMemory | Whether to use a memory stream or temporary file. |
| Type | Description |
|---|---|
| Stream | A stream that can be used to write data into the zip file. The entry is not added until the stream is closed. |
Opens a stream for writing an entry into the zip file.
public Stream OpenWriter(string entryName, DateTime dateTime, bool useMemory)
| Type | Name | Description |
|---|---|---|
| string | entryName | The name of the new entry. |
| DateTime | dateTime | The date and time when the file was last modified. |
| bool | useMemory | Whether to use a memory stream or temporary file. |
| Type | Description |
|---|---|
| Stream | A stream that can be used to write data into the zip file. The entry is not added until the stream is closed. |