![
![
public static string ZipFiles(string[] sourceFileList, string saveFullPath)
{
using (ZipFile zip = new ZipFile(saveFullPath, Encoding.UTF8))
{
foreach (string fileToZip in sourceFileList)
{
string fileName = fileToZip.Substring(fileToZip.LastIndexOf("\\", StringComparison.Ordinal) + 1);
zip.AddFile(fileToZip, "");
}
zip.Save();
}
return saveFullPath;
}