Files
BinaryObjectScanner/BurnOutSharp/IContentCheck.cs
2021-02-26 01:26:49 -08:00

15 lines
620 B
C#

namespace BurnOutSharp
{
public interface IContentCheck
{
/// <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>
/// <param name="includePosition">True to include positional data, false otherwise</param>
/// <returns>String containing any protections found in the file</returns>
string CheckContents(string file, byte[] fileContent, bool includePosition);
}
}