Ionic.Zip.ZipFile.UpdateFiles C# (CSharp) Method

UpdateFiles() public method

Adds or updates a set of files in the ZipFile.

Any files that already exist in the archive are updated. Any files that don't yet exist in the archive are added.

For ZipFile properties including Encryption, , SetCompression, , ExtractExistingFile, ZipErrorAction, and CompressionLevel, their respective values at the time of this call will be applied to each ZipEntry added.

public UpdateFiles ( System fileNames ) : void
fileNames System /// The collection of names of the files to update. Each string should refer to a file in /// the filesystem. The name of the file may be a relative path or a fully-qualified path. ///
return void
        public void UpdateFiles(System.Collections.Generic.IEnumerable<String> fileNames)
        {
            this.UpdateFiles(fileNames, null);
        }

Same methods

ZipFile::UpdateFiles ( System fileNames, String directoryPathInArchive ) : void