Is there a way to activate or bring a window of an external application to the front? The closest I could get was
var application = Application.Attach("SearchApp");
var searchWindow = application.GetWindows()[0];
searchWindow.Focus(DisplayState.Maximized);
but all that does is maximize it in the background if it's not currently active.