How to know the File Type

like above thread compare with your .zip.
or

you can get only all zip files from directotr and traverse it as per your needs.

Directory.GetFiles(folder_path,“.zip”,SearchOption.AllDirectories)

Regards…!!
Aksh

2 Likes