Zip and Unzip Files Programmatically in C#

The .NET framework 4.5 introduces some new classes in System.IO.Compression namespace that allows you to deal with Zip files programmatically. Using these classes you can create new Zip files, open and modify existing Zip files and extract the contents of Zip files via code. This article examines some of these classes. View article…