Decompressing gz file in c# has been asked and answered all over Internet, but thats not exactly what I'm looking for. I need a library that would give me:
1) the name of the file inside the gz file. 2) its modified time as it was in it originally where it came from.
Every example of gz decompression creates a filename that is gz's own filename minus the ".gz" extension, but thats not what I want. I want the filename that is inside the gz file, and I also want the modified date of it. Then when I decompress the file, I assign it the modified date that was meant to be, or the library do it for me.
But almost all examples I have seen, creates a new file, write the decompressed bytes, and close it, well of course it wont have that original modified date that belong it since it just got created and written to.
Can anyone help. I have used that dotnetzip and also the sharpziplibs their examples have the same problem and their forums don't have that answered.