public static bool IsArchiveInArchive(string path, IArchiveInfo archiveInfo, out FileType type) { if (Zip.CheckInArchive(path, archiveInfo)) { type = Zip; return(true); } // Add more here, when as needed. :D type = None; return(false); }