Get Started with ZIP Files
Problem
You need to manipulate compressed ZIP archives, either to retrieve file information from a zip or to compress and uncompress individual files.
Solution
Use a dedicated .NET component, such as the freely reusable #ziplib.
Discussion
There are several commercial components that allow you to work with ZIP files. However, there’s also at least one fully featured and freely redistributable
ZIP component: #ziplib (also known as SharpZipLib), developed by Mike Krueger using a similar open-source Java component. You can download #ziplib with the code samples for this book, or from the Web site http://www.icsharpcode.net/opensource/sharpziplib. This site includes samples in Visual Basic and C# and limited documentation.
To use ...
Get Microsoft® Visual Basic® .NET Programmer's Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.