Discuss this help topic in SecureBlackbox Forum
Get the list of files in the ZIP archive
To get the list of files in the archive, the following steps should be performed:
private void GetFiles(String entrypath, List<string> Files) { String st; TElZipArchiveDirectoryEntry rootEntry, entry; int i; if (entrypath != "") { rootEntry = ZipWriter.Directory.EntryWithPath(entrypath); } else { rootEntry = ZipWriter.Directory; } for (i = 0; i < rootEntry.EntriesCount; i++) { entry = rootEntry.get_Entries(i); Files.Add(entry.FileName); if (entry.IsDirectory) { GetFiles(entry.Path, Files); } } }