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