private static void InitConsoleHook(int port = -1) { string host; (host, port) = LaunchRemoteConsoleViaSubProc(port); SocketConsoleSender.Init(host, port); }
internal static void InitConsoleHookDefault() { try { SocketConsoleSender.Init("127.0.0.1", 56521); } catch (IOException) { InitConsoleHook(56521); } }