1.添加ICSharpCode.SharpZipLib.dll(该组件是压缩组件)
2.添加一个压缩辅助类,可以压缩多个文件
using System;
}&qa)|7aK0V1B25284529using System.Collections.Generic;ITPUB个人空间3tg3ry&KUe
using System.Linq;
}7x[
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25284529/viewspace-684500/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25284529/viewspace-684500/