Access to file list of Zipped zip files

Apr 7, 2014 at 1:49 PM
I'm trying to list file inside zipped zip files without extracting

In the debugger I saw ArchiveStream but I can't access it because it is 'Friend'

How do I access the "ArchiveStream" of an ZipEntry

In my case ZipEntries are zip files

-Main Zip file
  • ZipFile1
  • ZipFile2
  • ZipFile3
  • ZipFile4
I need to list all files including those in other zip contained in the main zip

Dim Zip1 As ZipFile
    Dim ListItem As New ListViewItem

    Zip1 = ZipFile.Read(FileName)

    For Each ZipEntry In Zip1.Entries
         ListItem.text = ZipEntry.Filename
         If IO.Path.GetExtension(ZipEntry.Filename).ToLower = ".zip" then
            'List files (In calling back the sub making it recursive)
         end if