예제 #1
0
 internal void SendClipboardContent(IRemoteDesktopClientInternal service, Forge.RemoteDesktop.Contracts.ClipboardChangedEventArgs e)
 {
     if (LOGGER.IsDebugEnabled)
     {
         LOGGER.Debug(string.Format("REMOTE_CLIENT, service sent clipboard content. Text: {0}", e.Text));
     }
     if (string.Compare(service.ClipboardContent, e.Text) != 0)
     {
         service.ClipboardContent = e.Text;
         SetClipboardContentFromClient(e.Text);
     }
 }
예제 #2
0
 /// <summary>
 /// Clients the content of the send clipboard.
 /// </summary>
 /// <param name="e">The <see cref="Forge.RemoteDesktop.Contracts.ClipboardChangedEventArgs" /> instance containing the event data.</param>
 public override void ClientSendClipboardContent(Forge.RemoteDesktop.Contracts.ClipboardChangedEventArgs e)
 {
     RemoteDesktopServiceManager.Instance.SendClipboardContent(this, e);
 }