CSharp examples for System.IO.Compression:Zip
Compress Zip File from directory
using System.IO.Compression; using System.IO;//from ww w . ja v a 2 s .c om using System.Diagnostics; using System; public class Main{ public static void CompressZipFile(string compressDir,string zipFilePath) { ZipFile.CreateFromDirectory(compressDir, zipFilePath); } }