<p>I'd like to know how to grab the Window title of the current active window (i.e. the one that has focus) using C#. </p>

Use the Windows API. Call
```
GetForegroundWindow()
```
.
```
GetForegroundWindow()
```
will give you a handle (named
```
hWnd
```
) to the active window.
Documentation:
GetForegroundWindow function | Microsoft Docs