Monday, June 24, 2013

how to get files and folder name in zip file c# ICSharpCode.SharpZipLib.Zip

ZipInputStream zip = new ZipInputStream( File.OpenRead(path));
            ZipEntry item;
            while ((item = zip.GetNextEntry()) != null )
            {
                Console.WriteLine(item.Name);
            }

1 comment: