-
-
Notifications
You must be signed in to change notification settings - Fork 5
Memory Protector
Elijah Brown edited this page Mar 14, 2024
·
5 revisions
The Memory Protection module allows you to protect your application from external access to RAM. In this way you can organize a simple and fast protection against software like CheatEngine.
This module includes SecuredTypes, which serve as a protected island for basic types in your game or application.
You can provide auto-configuration using Setup Wizzard or setup module manual:
// Initialize Module
Core.GameShield.Main.AddModule<MemoryProtector>();
// Get Module for API Requests
Core.GameShield.Main.GetModule<MemoryProtector>().PauseDetector(true);
Unified for all modules Cheating Detection Event:
// Get Information when cheating detected
EventMessenger.Main.Subscribe<SecurityWarningPayload>(payload => {
// Work with payload
});
This module provide IShieldModule interface methods with own functional extension:
Method | Usage |
---|---|
SetupModule | Setup Current Module with configuration and force reinitialization if it needed |
Disconnect | Disconnect Current Module |
PauseDetector | Pause / Resume cheating detection for current module |
IsPaused | Check if current module is paused |
GetModuleInfo | Get Current Module info (used in assemblies searching) |