ScpClient.SilverlightShared.cs 696 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Renci.SshNet.Channels;
  6. using System.IO;
  7. using Renci.SshNet.Common;
  8. using Renci.SshNet.Messages.Connection;
  9. using System.Text.RegularExpressions;
  10. using System.Threading;
  11. using System.Diagnostics;
  12. namespace Renci.SshNet
  13. {
  14. /// <summary>
  15. /// Provides SCP client functionality.
  16. /// </summary>
  17. public partial class ScpClient
  18. {
  19. partial void SendData(ChannelSession channel, string command)
  20. {
  21. this.Session.SendMessage(new ChannelDataMessage(channel.RemoteChannelNumber, System.Text.Encoding.UTF8.GetBytes(command)));
  22. }
  23. }
  24. }