Skip to content

Instantly share code, notes, and snippets.

@piksel
Created July 18, 2018 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piksel/426a492933a2421bfd10d40f2b2f0335 to your computer and use it in GitHub Desktop.
Save piksel/426a492933a2421bfd10d40f2b2f0335 to your computer and use it in GitHub Desktop.
SharpZipLib v1.0.0-rc1 Jar File Test
using System;
using ICSharpCode.SharpZipLib.Zip;
namespace JarZipTest
{
class Program
{
static void Main(string[] args)
{
var outDir = "out";
Console.WriteLine($"Extracting contents of {args[0]} to {outDir}...");
System.IO.Directory.CreateDirectory(outDir);
new FastZip().ExtractZip(args[0], outDir, "");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment