Is there a way to find out what the total size of the unextracted archive would be when extracted.
try this:
ZipFile zFile = new ZipFile(myZipFileName);
long uSize = 0;
foreach (ZipEntry e in zFile) {
if ( e.IsFile ) {
uSize += e.Size;
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With