.NETCF SP3 has been released into the wild. Tom Krueger posts what has been fixed with the new service pack. You can download .NETCF 1.0 SP3 here http://www.microsoft.com/downloads/details.aspx?FamilyId=A5A02311-194B-4C00-B445-F92BEC03032F&displaylang=en and also get the fix list.
Here are some utils methods to compress/decompress byte data in gzip format. Couldn’t really find many examples to inflate (decompress) the byte data after it’s been compressed…maybe i just didn’t Google hard enought ;-). Pretty cool library…especaily when you reduce a bitmap 80-90%!!
Note: This is only a wrapper to the main SharpZipLib library available at http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx so you will need that library for the utils to work.
/// Compress the raw data using gzip compression
/// <param name=”rawData”></param>
public static byte DeflateData(byte data)
MemoryStream stream = new MemoryStream();
GZipOutputStream gzipOut = new GZipOutputStream(stream);
/// Decompress the data using gzip compression
/// <param name=”data”></param>
public static byte InflateData(byte data)
MemoryStream ms = new MemoryStream();
Stream gzin = new GZipInputStream(ms);
MemoryStream decompMemStream = new MemoryStream();
int size = 2048;
byte buffer = new byte[size];
size = gzin.Read(buffer, 0, size);
if (size > 0)
decompMemStream.Write(buffer, 0, size);
Scott Holden is working on a great tool that would be an awesome addition to the utils library when completed. He is working on improving the mscoree.stat data that is provided for perf monitoring. Looks like it will provide extra stats, remote monitoring and the ability to load the data to PerfMon and view it graphically. Hopefully this could be completed sooner than later because I could sure use this now!! If you need a beta tester let me know.
Thanks to Mike Zintel for the heads up on the up coming util.
There is a good article on the MSDN Mobility site on Deployment & CF by Dan Fox & Jon Box. There are many resources around but this article buts everything in one location which is helpful.