mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-08-07 08:29:21 +00:00
Move resource helpers to PortableExecutable
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using BurnOutSharp.ExecutableType.Microsoft.PE;
|
||||
using BurnOutSharp.Tools;
|
||||
|
||||
namespace BurnOutSharp.ProtectionType
|
||||
{
|
||||
@@ -14,7 +13,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
if (sections == null)
|
||||
return null;
|
||||
|
||||
string name = Utilities.GetInternalName(pex);
|
||||
string name = pex.GetInternalName();
|
||||
if (!string.IsNullOrWhiteSpace(name) && name.Equals("CDKey", StringComparison.OrdinalIgnoreCase))
|
||||
return "CD-Key / Serial";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user