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). 阅读全文
posted @ 2013-04-20 11:01 惡盈好謙 阅读(191) 评论(0) 推荐(0) 编辑