Files
BinaryObjectScanner/BinaryObjectScanner.Interfaces/IMSDOSExecutableCheck.cs

24 lines
853 B
C#
Raw Normal View History

2023-09-16 01:00:47 -04:00
using SabreTools.Serialization.Wrappers;
namespace BinaryObjectScanner.Interfaces
{
/// <summary>
/// Check a MS-DOS Executable (MZ) for protection
/// </summary>
public interface IMSDOSExecutableCheck
{
/// <summary>
/// Check a path for protections based on file contents
/// </summary>
/// <param name="file">File to check for protection indicators</param>
/// <param name="mz">MSDOS representing the read-in file</param>
/// <param name="includeDebug">True to include debug data, false otherwise</param>
/// <returns>String containing any protections found in the file</returns>
2023-09-17 22:37:01 -04:00
#if NET48
string CheckMSDOSExecutable(string file, MSDOS mz, bool includeDebug);
2023-09-17 22:37:01 -04:00
#else
string? CheckMSDOSExecutable(string file, MSDOS mz, bool includeDebug);
#endif
}
}