Focus on Microsoft Technologies - Tutorials, Articles, Code Samples.

Tuesday, February 12, 2008

Compression Decompression in .NET

DeflateStream and GZipStream classes present in System.IO.Compression namespace provide compression and decompression capabilities. GZipStream compresses the serialized content of application, with great results. These classes operate on file streams.


The compression through these classes will likely be less than what can be achieved with a file compression utility. But the good thing is that we have this functionality include in .NET Framework 2.0 and above. As Microsoft said this namespace will be further enhanced and modified in the next versions.

Post a Comment