using System.IO; namespace BinaryObjectScanner.Interfaces { /// /// Mark a file type as being able to be extracted /// public interface IExtractable { /// /// Scan a file for all internal protections /// /// Path to the input file /// Path to extracted files, null on error /// /// Ideally, this should just point to the other extract implementation. /// It is expected that the calling method will provide exception handling. /// string Extract(string file); /// /// Scan a stream for all internal protections /// /// Stream representing the input file /// Path to the input file /// Path to extracted files, null on error /// It is expected that the calling method will provide exception handling. string Extract(Stream stream, string file); } }