ScpClient.SilverlightShared.cs 376 B

12345678910111213141516
  1. using System.Text;
  2. using Renci.SshNet.Channels;
  3. namespace Renci.SshNet
  4. {
  5. /// <summary>
  6. /// Provides SCP client functionality.
  7. /// </summary>
  8. public partial class ScpClient
  9. {
  10. partial void SendData(IChannelSession channel, string command)
  11. {
  12. channel.SendData(Encoding.UTF8.GetBytes(command));
  13. }
  14. }
  15. }