I'm using :
ICSharpCode.SharpZipLib.Zip.FastZip z = new ICSharpCode.SharpZipLib.Zip.FastZip();
So i'm generating a zip regarding a folder. This folder contains several files.
z.CreateEmptyDirectories = true;
z.CreateZip("Temp.zip", directory, true, "");
What I want is limit the size of the zips at 50Mo.
If the size of a zip if more than 50Mo then I want to generate an other zip with the others files.
For example I have :
Zip_1.zip SIze : 50Mo
Zip_2.zip Size : 50Mo
Zip_3.zip SIze : 34Mo
How can I do that ?