This project is read-only.

Clear all items at once

Dec 1, 2011 at 12:31 PM
Edited Dec 1, 2011 at 12:31 PM

How can I do to clear all items at once?



when I add, I do the following:

zipUtility.AddFile("C:\\file.txt", "");

zipUtility.AddFile("C:\\file2.txt", "");

zipUtility.AddFile("C:\\file3.txt", "");

zipUtility.AddFile("C:\\file4.txt", "");



When i remove, i do the following:


I wanted to remove all items at once, to add other files. how can i do this?

There is something like this? >>> zipUtility.ClearAll(); ???


sorry for my english. i'm brazillian.

Dec 10, 2011 at 12:15 PM

Anyone know?

Dec 13, 2011 at 5:40 AM

Did you try ZipFile.RemoveSelectedEntries("*.*");


Dec 13, 2011 at 10:49 AM

thank you so much! :'(