1

I'm looking for a way to unzip a string on Windows Phone. Found this thread, but the GZipStream class is not available on WP. Could you please recommend me something to look at?

UPD.: Here is the solution using SharpZipLib

Community
  • 1
  • 1
kazarindn
  • 169
  • 8

2 Answers2

1

Have a look at SharpGIS's really small Zip utility. I've never used it but it might work for you.

gbanfill
  • 2,216
  • 14
  • 21
  • Works on streams doesnt it? in which case you could write your string to a stream (using StreamWriter) and unzip on that. – gbanfill Apr 02 '12 at 10:02
0

DotNetZip seems to have a Silverlight port, (which contains GZipStream.cs)

http://dotnetzip.codeplex.com/releases/view/68268

You can check if it can help you decompress the string.

Lex Li
  • 60,503
  • 9
  • 116
  • 147