This project is read-only.

Zip with exeption

Apr 23, 2014 at 4:58 PM
Edited Apr 23, 2014 at 4:59 PM

I want to make a zip with exception! In fact, for example in this arbo:

->SubFolder 1
->SubFolder 2

I want to make a zip of the Folder but without the SubFolder2.
Can i make a zip with directly this exception or can i remove the subfolder2 when my zip will be created?

I find: ZipFile.RemoveEntry("SubFolder1/Fil1"); for a file but not the same for the SubFolder2.

Thx for help.