gz file, and that GZip is not the same as Zip.
Make sure you are passing in a GZip stream. System.IO.InvalidDataException: The magic number in GZip header is not correct. NET, but when my app runs (actually a unit test) I get this exception: I have tried using the System.IO.Compression.GZipStream class in.
I am trying to programatically unzip a zipped file.