I want to extract an exe file. The exe file contains some files and folders. When I try to extract the file using winrar, it is extracted, but when I try to extract the exe file using some examples, I get this error:
The magic number in the GZip header is incorrect. Make sure you stream the GZip stream.
I used some samples and searched a lot for my problem, but did not get an answer, and I also used some libraries.
I used this code, but the same error:
public static void Decompress(FileInfo fi) {
source share