.netzip

Which .NET API will allow me to programmatically rename the contents of a zip file without having to unzip and re-zip the zip file?


I'm looking for a .NET open source API that will allow me to open a zip file (without actually extracting its contents), get a list of files, and then rename them, all without having to unzip and re-zip the zip file.

Is there such an API?


Solution

  • DotNetZip - http://dotnetzip.codeplex.com/

    You can edit the Filename property of a ZipEntry.