using System.IO; namespace BinaryObjectScanner.Interfaces { /// /// Mark a file type as being able to be detected /// public interface IDetectable { /// /// Check if a file is detected as this file type /// /// Path to the input file /// True to include debug data, false otherwise /// Detected file or protection type, null on error /// Ideally, this should just point to the other detect implementation. string Detect(string file, bool includeDebug); /// /// Check if a stream is detected as this file type /// /// Stream representing the input file /// Path to the input file /// True to include debug data, false otherwise /// Detected file or protection type, null on error string Detect(Stream stream, string file, bool includeDebug); } }