void IConnection.SendKeyUp(Key key) { if (!started) { throw new InvalidOperationException("Connessione non è stata ancora avviata. Chiamata Start() non effetuata"); } ServerConnection currentServer = null; if (serverAttivoIndex < 0) { Trace.TraceWarning("ServerAttivoIndex è minore di 0. Index:{0}. In SendKeyUp() ", serverAttivoIndex); return; } currentServer = serverConnessi[serverAttivoIndex]; currentServer.SendKeyUp(key); }