Click or drag to resize

ConsoleUtilsGetConsoleWindowHandle Method

Retrieves the window handle used by the console associated with the calling process.

Namespace:  Cauldron.Consoles
Assembly:  Cauldron.Consoles (in Cauldron.Consoles.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static IntPtr GetConsoleWindowHandle()

Return Value

Type: IntPtr
The return value is a handle to the window used by the console associated with the calling process or NULL if there is no such window associated console.
See Also