예제 #1
0
        void IConnection.RemotePaste()
        {
            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 RemotePaste() ", serverAttivoIndex);
                return;
            }
            currentServer = serverConnessi[serverAttivoIndex];
            currentServer.RemotePaste(clipboardClient);
        }