mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-10-07 14:08:42 +00:00
Add IContentCheck interface
This commit is contained in:
@@ -6,9 +6,10 @@ using System.Text;
|
||||
|
||||
namespace BurnOutSharp.ProtectionType
|
||||
{
|
||||
public class CactusDataShield : IPathCheck
|
||||
public class CactusDataShield : IContentCheck, IPathCheck
|
||||
{
|
||||
public static string CheckContents(byte[] fileContent, bool includePosition = false)
|
||||
/// <inheritdoc/>
|
||||
public string CheckContents(string file, byte[] fileContent, bool includePosition = false)
|
||||
{
|
||||
// DATA.CDS
|
||||
byte[] check = new byte[] { 0x44, 0x41, 0x54, 0x41, 0x2E, 0x43, 0x44, 0x53 };
|
||||
|
||||
Reference in New Issue
Block a user