Files
BinaryObjectScanner/BinaryObjectScanner.Interfaces/IContentCheck.cs

18 lines
708 B
C#
Raw Normal View History

namespace BinaryObjectScanner.Interfaces
2021-02-26 01:26:49 -08:00
{
2022-05-01 21:06:52 -07:00
/// <summary>
/// Check a generic file for protection
/// </summary>
2022-12-26 12:36:09 -08:00
public interface IContentCheck
2021-02-26 01:26:49 -08:00
{
/// <summary>
/// Check a path for protections based on file contents
/// </summary>
/// <param name="file">File to check for protection indicators</param>
/// <param name="fileContent">Byte array representing the file contents</param>
2021-08-24 15:19:23 -07:00
/// <param name="includeDebug">True to include debug data, false otherwise</param>
2021-02-26 01:26:49 -08:00
/// <returns>String containing any protections found in the file</returns>
2022-05-01 17:17:15 -07:00
string CheckContents(string file, byte[] fileContent, bool includeDebug);
2021-02-26 01:26:49 -08:00
}
}