GZipStream in Compact Framework 2.0

  • Thread starter Thread starter esxmarkc
  • Start date Start date
E

esxmarkc

According to the documentation this is supported in Compact Framework
2.0. But I can't for the life of me get the refrence to work.

I need to use the GZipStream Classes

But if I attampt to add
using System.IO.Compression;

It fails to compile. Anybody have the 411 on this?


Thanks
Mark C.
 
If you look at teh docs you'll notice that while teh class itself says it
has CF support, none of it's methods or properties are marked as supported.
This is an error in their docs generator. occasionally unsupported classes
show up - but if you notice that no methods or properties are supported,
that tells you it's not.
 
Here is the link :
http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx

I successfully implemented this lib in one of our application.
But beware, the library provide many compression algorythms but some of them
are very memory expensive. From my merory the Zip implementation takes near
12 MB of memory, just for the initialization of the zip runtime. We use the
GZIP algorythm since it uses the less memory.

Steve
 
Back
Top