Note that this is not a function of the Deflate (or any other) algorithm, but an explicit check the programmer of the ZIP utility put in place. You can do the same with the System.IO.Compression streams: wrap them up in a class of your own, and persist either the plaintext or the compressed stream based on the final result.
