Can I use gzip with webplayer and www?

I’ve seen several posts here and on the forums about this. What I want to do is be able to decompress a gzipped file using the web player. I understand I might be able to cobble together some DLL’s that would work in the Editor and/or standalone builds. Not what I need. Web Player. .Net (even 2.0) supports a gzip class, but it does not work as-is (ver 3.4). Because .Net supports gzip ‘natively’ nobody seems to have any c# sources I might be able to drop into my project.

So, can I use these other DLL’s (managed or otherwise) in a web player build if I put them in my Plugins folder? Are there any sources out there that I could compile into my project so I don’t have to rely on external DLL’s? or assemblies? Or do I have to go to gzip.org and translate the C code there to C#? Will Unity ever support zipping with ease? Thanks in advance.

Here’s what works for me, also in Indie and Web Player: Get DotNetZip library, extract Iconic.Zip to Assets/Plugins, use ‘using using Ionic.Zlib;’ and then simply:

byte[] decompressed = Ionic.Zlib.GZipStream.UncompressBuffer(www.bytes);
xmlText = System.Text.ASCIIEncoding.ASCII.GetString(decompressed);

As long as a dll uses pure managed code it can be used like any scripts you wrote. Just put it into your assets folder and you should be able to use it. Even in the webplayer as long as the assembly doesn’t use blocked / restricted namespaces / methods like System.IO.

I don’t really was in need of a zip library, but i’ve come across ICSharpCode.SharpZipLib.dll which supports gzip as far as i remember.