So currently I am using a monkey patched zlib.net that fixes some bugs in it here:
https://github.com/Elskom/Els_kom_new/blob/master/Els_kom_Core/Classes/ZlibHelper.cs
Because of the need to clone the fork and checkout the patches branch (which takes time). It would be better to use the .NET Framework one. However I noticed the .NET Framework one seems to produce compressed output that then the C based zlib when the compressed data is even attempted decompression in unmanaged code to fail. This library might produce similar results to Zlib.net too. However I still would like a way to compare the output compressed data for each though to know for sure. Also the downside on this though is for the format I am packing the files to, it requires me having to know the crc32 to put in a xml header to the format. Personally I think it is dumb as it should be part of the compressed content on the end but whatever.