i would like to share the code to zip and unzip a file without using any opensource which is directly used reference file in dot net framework.
Please add the reference file to ZipFile is contained in the assembly System.IO.Compression.FileSystem.
Please add the reference file to ZipFile is contained in the assembly System.IO.Compression.FileSystem.
To zip a file
System.IO.Compression.ZipFile.CreateFromDirectory(startPath, zipPath);
To UnZip a File
System.IO.Compression.ZipFile.ExtractToDirectory(startPath, extractPath);he reference file to ZipFile is contained in the assembly System.IO.Compression.FileSystem.