how to check if a file is running in csharp
Code Example - how to check if a file is running in csharp
if (Process.GetProcessesByName("process_name").Length > 0)
{
// Is running
}
if (Process.GetProcessesByName("process_name").Length > 0)
{
// Is running
}