using System.Diagnostics; bool IsApplicationAlreadyRunning(string processName) { Process[] processes = Process.GetProcessesByName(processName); if (processes.Length >= 1) return true; else return false; }
By Mohd Zulkamal
NOTE : – If You have Found this post Helpful, I will appreciate if you can Share it on Facebook, Twitter and Other Social Media Sites. Thanks =)
0 comments:
Post a Comment