using System; using System.Data; using System.Configuration; using System.Collections.Generic; using System.IO; using ICSharpCode.SharpZipLib.Zip; using ICSharpCode.SharpZipLib.Checksums; namespace BLL { /// <summary> /// 文件(夹)压缩.解压缩 /// </summar…
方法实现 public class DirectoryAllFiles { static List<FileInformation> FileList = new List<FileInformation>(); public static List<FileInformation> GetAllFiles(DirectoryInfo dir) { FileInfo[] allFile = dir.GetFiles(); foreach (FileInfo fi in …