0
kicks
Checking if a file is compressed in C#
The article describes a technique (including sample code) that can be used to easily determine if a file is not a compressed file without having to necessarily uncompress the entire file using .NET 2.0's GZipStream class.