How to get all files from .zip file

If Zip file contains folders and that all folders contain files then below code will give you a list of all file paths inside a zip file.

  string[] filePaths = Directory.GetFiles(FolderPathWhreZipFileIsStored, "*.*", SearchOption.AllDirectories);

Leave a Reply

Your email address will not be published. Required fields are marked *