ZipArchive.UpdateFile(String, String) Method
Updates content of the zip file item.
A string that is the path to the file which will replace the file in the archive.
A string that is the path in archive.
A ZipFileItem object that is the updated zip file item.
The UpdateFile method removes a file item located at the specified path from the archive. Then, the ZipArchive creates a new zip file item from the specified file and adds it to the archive at the specified path.
If an item is not found, it is created.