SharpZipLib ZipEntry how can you change the name of a file in the zip?

Posted by schmoopy on Stack Overflow See other posts from Stack Overflow or by schmoopy
Published on 2010-06-07T00:22:44Z Indexed on 2010/06/07 0:32 UTC
Read the original article Hit count: 489

Filed under:
|
|

How do you change the name stored in the zip file?

Also, can this be done when adding the file via:

ZipFile zf = new ZipFile("path");
zf.BeginUpdate();
zf.Add(filePath);  <-- i would like to also be able to change it when adding
zf.CommitUpdate();

© Stack Overflow or respective owner

Related posts about c#

Related posts about encryption