GZipStream for compact framework 2.0
-
hi - i'm a newbie at c# programming for pocket pcs (mainly a c/c++ programmer) i'd like to believe i've gotten the hang of it but some things still escape me like i used the GZipStream to uncompress an http web response stream on the regular framework and it works fine - but when i move to the pocket pc it seems i am not allowed to create a GZipStream (the compression namespace is unavailable) i'd appreciate any help anyone can give me i want to achieve the same result in any way possible (if there is a simple algorithm i could just plug in then great - or a way to include the class then even better) btw i have tried SharpZipLib and it didn't work (it threw an exception saying "Error baseInputStream GZIP header, first byte doesn't match") thanks so much to anyone who took the time to read this.
-
hi - i'm a newbie at c# programming for pocket pcs (mainly a c/c++ programmer) i'd like to believe i've gotten the hang of it but some things still escape me like i used the GZipStream to uncompress an http web response stream on the regular framework and it works fine - but when i move to the pocket pc it seems i am not allowed to create a GZipStream (the compression namespace is unavailable) i'd appreciate any help anyone can give me i want to achieve the same result in any way possible (if there is a simple algorithm i could just plug in then great - or a way to include the class then even better) btw i have tried SharpZipLib and it didn't work (it threw an exception saying "Error baseInputStream GZIP header, first byte doesn't match") thanks so much to anyone who took the time to read this.
Hi, According to http://msdn2.microsoft.com/en-us/library/system.io.compression.gzipstream.aspx[^], GZipStream is supposed to work on CF 2.0. If you are looking for an alternative, ComponentOne has Zip for the .NET compact framework. We have versions for both the 1.0 and 2.0 compact framework. For more information, please visit http://www.componentone.com/products.aspx?ItemType=1&TabTypeID=1&PanelIndex=14&TabMapID=310&Itemid=26&Tabid=435&SubCategoryTypeID=-1[^].
Suelinda W Customer Engagement, ComponentOne LLC http:\\www.componentone.com