示例#1
0
        private static void InitConsoleHook(int port = -1)
        {
            string host;

            (host, port) = LaunchRemoteConsoleViaSubProc(port);
            SocketConsoleSender.Init(host, port);
        }
示例#2
0
 internal static void InitConsoleHookDefault()
 {
     try
     {
         SocketConsoleSender.Init("127.0.0.1", 56521);
     }
     catch (IOException)
     {
         InitConsoleHook(56521);
     }
 }