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