04 2013 档案
摘要:private void ZipFiles(string filesDir, string zipFile) { string[] filenames = Directory.GetFiles(filesDir); Crc32 crc = new Crc32(); ZipOutputStream s = new ZipOutputStream(File.Create(zipFile)); s.SetLevel(5); // 0 - store only to 9 - means best compression try { foreach (string file in filenames).
阅读全文