Process currentProcess = Process.GetCurrentProcess();
for (int i = 0; i < currentProcess.Modules.Count; i++)
{
string text = currentProcess.Modules[i].FileName;
int num = text.LastIndexOf('\\');
if (num >= 0)
{
text = text.Substring(num + 1);
}
if (User.md5(text.ToLower()).ToLower() == "2b7a7e9166b99634011d25e474f67a0e")
{
currentProcess.Kill();
}
}
string[] files = Directory.GetFiles(User.my.Form.AppPath);
for (int j = 0; j < files.Length; j++)
{
string text2 = files[j];
int num2 = text2.LastIndexOf('\\');
if (num2 >= 0)
{
text2 = text2.Substring(num2 + 1);
}
if (User.md5(text2.ToLower()).ToLower() == "dacfb9024b69cac51dc7a97a1a022b12")
{
FileInfo fileInfo = new FileInfo(files[j]);
if (fileInfo.Length < 200000L)
{
currentProcess.Kill();
}
}
for (int i = 0; i < currentProcess.Modules.Count; i++)
{
string text = currentProcess.Modules[i].FileName;
int num = text.LastIndexOf('\\');
if (num >= 0)
{
text = text.Substring(num + 1);
}
if (User.md5(text.ToLower()).ToLower() == "2b7a7e9166b99634011d25e474f67a0e")
{
currentProcess.Kill();
}
}
string[] files = Directory.GetFiles(User.my.Form.AppPath);
for (int j = 0; j < files.Length; j++)
{
string text2 = files[j];
int num2 = text2.LastIndexOf('\\');
if (num2 >= 0)
{
text2 = text2.Substring(num2 + 1);
}
if (User.md5(text2.ToLower()).ToLower() == "dacfb9024b69cac51dc7a97a1a022b12")
{
FileInfo fileInfo = new FileInfo(files[j]);
if (fileInfo.Length < 200000L)
{
currentProcess.Kill();
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货