Ionic Zip Library v1.9.1.6
UpdateEntry Method (entryName, stream)
Updates the given entry in the ZipFile, using the given stream as
input, and the given filename and given directory Path.
Declaration Syntax
Return Value
The ZipEntry added.
Remarks
Calling the method is equivalent to calling RemoveEntry() if an entry by the same name already exists, and then calling AddEntry() with the given fileName and stream.
The stream must be open and readable during the call to ZipFile.Save. You can dispense the stream on a just-in-time basis using the InputStream property. Check the documentation of that property for more information.
For ZipFile properties including Encryption, Password, SetCompression, ProvisionalAlternateEncoding, ExtractExistingFile, ZipErrorAction, and CompressionLevel, their respective values at the time of this call will be applied to the ZipEntry added.
See Also