This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using ICSharpCode.SharpZipLib.Zip; | |
/// <summary> | |
/// 该类用于将一个文件/文件夹或多个文件/文件夹压缩为zip文件,或者将一个zip文件解压,该类依赖于 SharpZipLib | |
/// SharpZipLib下载地址:https://github.com/icsharpcode/SharpZipLib/releases | |
/// </summary> | |
public class ZipTools |