public static bool IsAlreayRunning()
{
string currentProcessName = Process.GetCurrentProcess().ProcessName;
Process[] processNamesCoolection = Process.GetProcessesByName(currentProcessName);
if (processNamesCoolection.Length > 1)
{
return true;
}
else
{
return false;
}
}
本文题目:
网站建设中,.NET程序设计时判断执行状态
当前路径:
http://ncjierui.cn/view/40005.html