Method GetForegroundWindow
GetForegroundWindow()
Retrieves a handle to the foreground window (the window with which the user is currently working).
public static extern nint GetForegroundWindow()
Retrieves a handle to the foreground window (the window with which the user is currently working).
public static extern nint GetForegroundWindow()