So I have C# WinForms application and I am trying to detect if TabTip.exe (on-screen keyboard) is open. So I go through current process, I find that process and using that whole lot information how can I detect if process is visible or not?
foreach (Process process in Process.GetProcesses())
{
if (process.ProcessName.Contains(KEYBOARD_PROCESS_NAME))
{
// So is visible or not?
}
}