public static void Extractallfiles(string srcPath, string destPath) { ZipForge archiver = new ZipForge(); archiver.FileName = srcPath; // Open an existing archive archiver.OpenArchive(System.IO.FileMode.Open); // Default path for all operations archiver.BaseDir = destPath; // Extract all files from the archive to C:\Temp folder archiver.ExtractFiles("*.*"); // Close archive archiver.CloseArchive(); } This code is doesn't support for .7zip format file, No issue with .zip file extension. Pleas share if you have any inputs on this
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)