mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-18 14:55:05 +00:00
Separate protections into their own classes
This commit is contained in:
13
BurnOutSharp/ProtectionType/KeyLock.cs
Normal file
13
BurnOutSharp/ProtectionType/KeyLock.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace BurnOutSharp.ProtectionType
|
||||
{
|
||||
public class KeyLock
|
||||
{
|
||||
public static string CheckContents(string fileContent)
|
||||
{
|
||||
if (fileContent.Contains("KEY-LOCK COMMAND"))
|
||||
return "Key-Lock (Dongle)";
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user