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