ZipOutputStream.PutNextEntry Method

Starts a new Zip entry. It automatically closes the previous entry if present. If the compression method is stored, the entry must have a valid size and crc, otherwise all elements (except name) are optional, but must be correct if present. If the time is not set in the entry, the current time is used.

[Visual Basic]
Public Sub PutNextEntry( _
   ByVal entry As ICSharpCode.SharpZipLib.Zip.ZipEntry _
)
[C#]
public void PutNextEntry(
   ZipEntry entry
);

Parameters

entry

the entry.

Exceptions

Exception TypeCondition
System.IO.IOException if an I/O error occured.
System.InvalidOperationException if stream was finished

See Also

ZipOutputStream Class | ZipOutputStream Members | ICSharpCode.SharpZipLib.Zip Namespace