Method GetWindowImageViaDeviceContext GetWindowImageViaDeviceContext(nint) Declaration public static Bitmap GetWindowImageViaDeviceContext(nint hwnd) Parameters Type Name Description nint hwnd Returns Type Description Bitmap