更新时间:2023-01-25 10:15:15
GZipStream [ ^ ]将不帮你,因为这个类只允许一个人压缩单个文件。您可以查看图书馆 SharpZipLib [ ^ ]。它是免费的,可以下载这里 [ ^ ]。
- .NET 1.1,.NET 2.0(3.5,4.0),.NET CF 1.0,.NET CF 2.0的程序集:下载[237 KB]
- 源代码和示例下载[708 KB]
- 帮助文件下载[1208 KB]
GZipStream[^] will not help you since this class only allows one to zip a single file. You might want to check out the library SharpZipLib[^]. It is free an can be downloaded here[^].
- Assemblies for .NET 1.1, .NET 2.0 (3.5, 4.0), .NET CF 1.0, .NET CF 2.0: Download [237 KB]
- Source code and samples Download [708 KB]
- Help file Download [1208 KB]
参考以下文章:
[ ^ ]
Zip和简单的应用程序使用J#在C#中解压缩文件[ ^ ]
使用C#压缩/解压缩类处理标准Zip文件 [ ^ ]
使用Windows Shell API和C#压缩Zip文件 [ ^ ]
C#Zip文件和/或文件夹 [ ^ ]
--Amit
Refer the articles below:
Creating Zip Files Easily in .NET 4.5[^]
Simple Application to Zip and UnZip files in C# using J#[^]
Processing Standard Zip Files with C# compression/decompression classes[^]
Compress Zip files with Windows Shell API and C#[^]
C# Zip Files and/or Folders[^]
--Amit