Public Class Form1
Private Sub SuspendProcess(ByVal process As System.Diagnostics.Process)
For Each t As ProcessThread In process.Threads
Dim th As IntPtr
th = OpenThread(ThreadAcces.SUSPEND_RESUME, False, t.Id)
If th <> IntPtr.Zero Then
SuspendThread(th)
CloseHandle(th)
End If
Next
End Sub
Private Sub ResumeProcess(ByVal process As System.Diagnostics.Process)
For Each t As ProcessThread In process.Threads
Dim th As IntPtr
th = OpenThread(ThreadAcces.SUSPEND_RESUME, False, t.Id)
If th <> IntPtr.Zero Then
ResumeThread(th)
CloseHandle(th)
End If
Next
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim game As Process() = Process.GetProcessesByName(TextBox1.Text)
If Button1.Text = "Çalışıyor." Then
SuspendProcess(game(0))
Button1.Text = "Durduruldu."
Else
ResumeProcess(game(0))
Button1.Text = "Çalışıyor."
End If
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
MsgBox("Uygulamanın yapımcısı #iRexLyys'dir.")
MsgBox("Hile şuanlık Warz PVP Serverleri dışındaki oyunlarda başarılı bir şekilde çalışmaktadır.")
MsgBox("Eğer sormak istediğiniz bir soru varsa lütfen iletişime geçiniz...")
MsgBox("Herkeze iyi günler.")
End Sub