mirror of
https://github.com/yck1509/ConfuserEx
synced 2026-06-08 18:29:44 +00:00
15 lines
345 B
C#
15 lines
345 B
C#
using System;
|
|
|
|
namespace Confuser.Runtime {
|
|
static partial class AntiDebugAntinet {
|
|
static void Initialize() {
|
|
if (!InitializeAntiDebugger())
|
|
Environment.FailFast(null);
|
|
InitializeAntiProfiler();
|
|
if (IsProfilerAttached) {
|
|
Environment.FailFast(null);
|
|
PreventActiveProfilerFromReceivingProfilingMessages();
|
|
}
|
|
}
|
|
}
|
|
} |