<p>I know there are <a href="https://stackoverflow.com/questions/11737/net-library-to-unzip-zip-and-rar-files">libraries out there for working with ZIP files</a>. And, you can alternatively <a href="https://stackoverflow.com/questions/30211/windows-built-in-zip-compression-script-able">use the functionality built into Windows for working ZIP files</a>.</p>

<p>But, I'm wondering if anyone has worked out how to use the tools built into the System.IO.Compression namespace within .NET for reading/writing ZIP files? Or, is it not possible using only this namespace?</p>

<p>UPDATED: I've seem someone comment that the System.IO.Packaging namespace might be usefull with this also. Does anyone know exactly how to do it?</p>

MSDN has a complete
example
http://msdn.microsoft.com/en-us/library/system.io.packaging.zippackage.aspx
using the ZipPackage class.   Requires .NET 3.5.