彭山网站建设设计

将想法与焦点和您一起共享

网站建设中,.NET程序设计时判断执行状态

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

其他资讯