Introduction - If you have any usage issues, please Google them yourself
1., reference the ICSharpCode.SharpZipLib.dll file in the Bin folder to the Bin folder of the target website.
The CompressFiles.cs in the 2.App_Code folder is a file - Compressed class file, in which the PakFiles () implementation folder is compressed, and the UnpackFiles () implementation compresses the compressed file
3., you can refer to this method by CompressFiles.PackFiles () or CompressFiles.UnpackFiles ().