public static CabinetInfo GetCabinetInfo(Stream stream) { using (CabExtract decomp = new CabExtract(stream)) { return(decomp.GetCabinetInfo(out bool isCabinet)); } }
public static bool IsCabinetFile(Stream stream) { using (CabExtract decomp = new CabExtract(stream)) { return(decomp.IsCabinetFile()); } }