Property print.isConsoleProcess Overload Returns true if this process is attached to a console. public static bool isConsoleProcess { get; } Property Value bool