Ionic Zip Library v1.9.1.6
UpdateEntry Method (entryName, content, encoding)
Updates the given entry in the ZipFile, using the given string as
content for the ZipEntry.

C# | Visual Basic | Visual C++ |

- entryName (String)
- The name, including any path, to use within the archive for the entry.
- content (String)
- The content of the file, should it be extracted from the zip.
- encoding (Encoding)
- The text encoding to use when encoding the string. Be aware: This is distinct from the text encoding used to encode the filename. See AlternateEncoding.

The ZipEntry added.

Calling this method is equivalent to removing the ZipEntry for the
given file name and directory path, if it exists, and then calling AddEntry(String, String, Encoding). See the
documentation for that method for further explanation.