public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(4, "RARC") || reader.CheckSignature(4, "CRAR")); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(4, "HBSS") && reader.CheckSignature(4, "RDHS", 16)); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(3, "BCH") || reader.CheckSignature(4, "CGFX")); // (GFPackage.IsValidPackage(stream)); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(8, "PACx301L") || reader.CheckSignature(8, "PACx302L") || reader.CheckSignature(8, "PACx402L")); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { bool IsMEO1 = reader.CheckSignature(4, "ME01"); IsSA01 = reader.CheckSignature(4, "SA01"); return(IsMEO1 || IsSA01); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { bool IsForm = reader.CheckSignature(4, "RFRM"); bool FormType = reader.CheckSignature(4, "PACK", 20); return(IsForm && FormType); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(4, "ZAR\x01") || reader.CheckSignature(4, "GAR\x02") || reader.CheckSignature(4, "GAR\x03") || reader.CheckSignature(4, "GAR\x04") || reader.CheckSignature(4, "GAR\x05")); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { if (reader.CheckSignature(4, "EFCF") || reader.CheckSignature(4, "EFCC")) { return(true); } else { return(false); } } }
public bool Identify(System.IO.Stream stream) { if (stream.Length <= 24) { return(false); } using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { bool IsForm = reader.CheckSignature(4, "RFRM"); bool FormType = reader.CheckSignature(4, "MSBT", 20); return(IsForm && FormType); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(4, "FLIM", reader.BaseStream.Length - 0x28)); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(4, "VSCB", 12) || Utils.GetExtension(FileName) == ".bcsv"); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(3, "TRB") || Utils.HasExtension(FileName, ".trb")); } }
public bool Identify(System.IO.Stream stream) { if (stream.Length < 68) { return(false); } using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(4, "IMET", 64)); } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { //File too small to have any data if (stream.Length <= 8) { return(false); } if (reader.CheckSignature(2, "BY") || reader.CheckSignature(2, "YB")) { return(true); } else { return(false); } } }
public bool Identify(System.IO.Stream stream) { using (var reader = new Toolbox.Library.IO.FileReader(stream, true)) { return(reader.CheckSignature(3, "Lua", 1)); } }