点击或拖拽改变大小

SevenZipExZipFile 方法 (ListString, String, String)

Sweet 开发框架
压缩文件

命名空间:  Sweet.Common
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static bool ZipFile(
	List<string> fileNames,
	string zipFileName,
	string password = ""
)

参数

fileNames
类型:System.Collections.GenericListString
被压缩文件的文件列表
zipFileName
类型:SystemString
压缩后文件名
password (Optional)
类型:SystemString
密码

返回值

类型:Boolean
返回值为true:成功 false:失败
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架