Ejemplo n.º 1
0
        public static int GetConsoleSessionIdInternal()
        {
            ExecutionServiceClient           executionServiceClient = ExecutionServiceClient.Connect();
            ExecutionServiceClientConnection connection             = executionServiceClient.BeginConnection("TestRuntime", true);

            return(connection.UserSessionGetConsoleSessionId());
        }
Ejemplo n.º 2
0
        public static bool DisconnectInternal(int sessionId)
        {
            ExecutionServiceClient           executionServiceClient = ExecutionServiceClient.Connect();
            ExecutionServiceClientConnection connection             = executionServiceClient.BeginConnection("TestRuntime", true);

            return(connection.UserSessionDisconnect(sessionId));
        }