Reputation: 4570
Is there anyway of doing this in c#?
I can get the amount of bytes that a zip contains via a filestream but there seems nothing for finding the compressed file size.
Upvotes: 0
Views: 4466
Reputation: 6914
FileInfo f = new FileInfo("yourfile.zip");
long filesize = f.Length; // file size in bytes
Upvotes: 2