using SabreTools.Serialization.Wrappers; namespace BinaryObjectScanner.Interfaces { /// /// Check a Portable Executable (PE) for protection /// public interface IPortableExecutableCheck { /// /// Check a path for protections based on file contents /// /// File to check for protection indicators /// PortableExecutable representing the read-in file /// True to include debug data, false otherwise /// String containing any protections found in the file #if NET48 string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug); #else string? CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug); #endif } }