Method GetForegroundWindow GetForegroundWindow() Declaration public static nint GetForegroundWindow() Returns Type Description nint