我怎么能按原名杀死进程?请帮忙 ! ! ! [英] How can I kill process by original name ? please help ! ! !
问题描述
您好,
我是游戏反作弊的开发者,我需要用原始名称停止代替...
我添加照片: https://ctrlv.cz/shots/2017/07/03/fjm8。 png [ ^ ]
请帮助!!! (VB.NET代码请...)
-Majniik_
我尝试了什么:
我尝试停止进程ID并停止进程Application.exe,当我重命名这个hack时,hack's procces将像他的名字一样...
我使用了 Code Converter [ ^ ]转换此C#代码
foreach (处理流程在流程中。 GetProcessesByName(YourProcessNameHere.exe))
{
if (process.Id!= current.Id)
{
process.Kill();
}
}
到VB,所以这是VB版本
对于 每个 process__1 作为处理在 Process.GetProcessesByName( YourProcessNameHere.exe)
如果 process__1.Id<> current.Id 然后
process__1.Kill()
结束 如果
下一页
其中YourProcessNameHere.exe
将替换为您需要杀死的应用程序,例如:KC9.exe
Hello,
I'm developer of the anti-cheat for the game and I need stop procces by original name...
I add photos: https://ctrlv.cz/shots/2017/07/03/fjm8.png[^]
PLEASE HELP !!! (VB.NET code please...)
-Majniik_
What I have tried:
I tried stop by process ID and stop process Application.exe, when i rename this hack, hack's procces will be like his name...
I used Code Converter[^] to convert this C# code
foreach (Process process in Process.GetProcessesByName(YourProcessNameHere.exe)) { if (process.Id != current.Id) { process.Kill(); } }
to VB, so here is the VB version
For Each process__1 As Process In Process.GetProcessesByName("YourProcessNameHere.exe") If process__1.Id <> current.Id Then process__1.Kill() End If Next
WhereYourProcessNameHere.exe
is to be replaced with the applications you need to kill, ex:KC9.exe
.
这篇关于我怎么能按原名杀死进程?请帮忙 ! ! !的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!