Prerequisites. Visual Studio for Mac, Mono, C#
I'm porting existing C# application from Windows to Mac. And what I currently need is to get information about currently active window/process. Just user-friendly application name and window title.
Windows code uses Win API for this like GetForegroundWindow. Does something similar exist on Mac? Is there some way to get required information?