Answers for "how to check if a file is running in c#"

C#
0

how to check if a file is running in c#

if (Process.GetProcessesByName("process_name").Length > 0)
{
    // Is running
}
Posted by: Guest on March-29-2022

Code answers related to "how to check if a file is running in c#"

C# Answers by Framework

Browse Popular Code Answers by Language