public static void unZipFile(string zipFile, string outputFolder) { try { if (Directory.Exists(outputFolder)) { Directory.Delete(outputFolder, true); } } catch { } ZipUtilities zipUtilities = new ZipUtilities(); zipUtilities.ExtractZipFile(zipFile, outputFolder); }