C# Anti Cheat Engine

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üye
Katılım
18 Şub 2023
Mesajlar
4
Tepki puanı
3
Yaş
25
3 HİZMET YILI
C#:
[DllImport("user32.dll", SetLastError = true)]
static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
[DllImport("ntdll.dll", SetLastError = true)]
 public static extern int NtSetInformationProcess(IntPtr process, int process_class, ref int process_value, int length);
       
 //InitializeComponent
 var handle     = FindWindow("Window", null);
            if (handle != IntPtr.Zero)
            {
             //BlueScreen
               Process.EnterDebugMode();
            int status = 1;
            NtSetInformationProcess(Process.GetCurrentProcess().Handle, 0x1D, ref status, sizeof(int));
            Process.GetCurrentProcess().Kill();
               
            }


Protect your program against cheat engine.
 
Son düzenleme:
Onaylı Üye
Katılım
31 Ağu 2020
Mesajlar
54
Tepki puanı
10
Ödüller
2
Yaş
25
5 HİZMET YILI
what do you want us to do on the code
 
Üye
Katılım
18 Şub 2023
Mesajlar
4
Tepki puanı
3
Yaş
25
3 HİZMET YILI
Protects your program against cheat engine.
 
Onaylı Üye
Katılım
7 Şub 2019
Mesajlar
51
Çözümler
1
Tepki puanı
1
Ödüller
7
Yaş
31
7 HİZMET YILI
Do you mean to create an anti-cheat engine program? to prevent ***** my program or what?
 
Üye
Katılım
21 Tem 2023
Mesajlar
8
Tepki puanı
0
Yaş
46
2 HİZMET YILI
Theoretically it would close your program if someone tried to modify process information based on main window form.
However, the CE uses other methods too, FindWindow geTprocByid, OpenProcess, getProcbyName and others.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst