Beispiel #1
0
 public bool Identify(File_Info fileInfo, System.IO.Stream stream)
 {
     using (var reader = new FileReader(stream, true)) {
         return(reader.ReadInt32() == MagicFileConstant);
     }
 }
Beispiel #2
0
 public bool Identify(File_Info fileInfo, System.IO.Stream stream)
 {
     using (var reader = new FileReader(stream, true)) {
         return(reader.CheckSignature(4, "DDS "));
     }
 }