Tag Archives: ZipFile

Zip files with the ZipFile class in C#

The static ZipFile class is relatively new (.NET Framework 4.5 and later), so this example uses Visual Studio 2019. The following section explains how to load the ZipFile class in a Visual Studio 2019 project. The rest of this post … Continue reading

Posted in files | Tagged , , , , , , , , , | Leave a comment

Compress and decompress directories in C#

The ZipFile class provides remarkably simple methods to compress and decompress directories in the zip format. This class is defined in the .NET Framework version 4.5, so this example is in Visual Studio 2017 instead of an older version. To … Continue reading

Posted in classes, directories, files | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment