From b2eae63e5779c8352c99f521ad4e9bff28d73f49 Mon Sep 17 00:00:00 2001 From: drieseng Date: Sat, 4 Jun 2016 17:38:11 +0200 Subject: [PATCH] Added slashdocs. --- .../Messages/Connection/ChannelOpenConfirmationMessage.cs | 6 ++++++ src/Renci.SshNet/Security/Cryptography/AsymmetricCipher.cs | 6 ++++++ .../KeyExchangeDiffieHellmanGroupExchangeShaBase.cs | 3 +++ src/Renci.SshNet/Sftp/SftpFileAttributes.cs | 6 ++++++ 4 files changed, 21 insertions(+) diff --git a/src/Renci.SshNet/Messages/Connection/ChannelOpenConfirmationMessage.cs b/src/Renci.SshNet/Messages/Connection/ChannelOpenConfirmationMessage.cs index f52e0d1c..00577985 100644 --- a/src/Renci.SshNet/Messages/Connection/ChannelOpenConfirmationMessage.cs +++ b/src/Renci.SshNet/Messages/Connection/ChannelOpenConfirmationMessage.cs @@ -27,6 +27,12 @@ /// public uint MaximumPacketSize { get; private set; } + /// + /// Gets the size of the message in bytes. + /// + /// + /// The size of the messages in bytes. + /// protected override int BufferCapacity { get diff --git a/src/Renci.SshNet/Security/Cryptography/AsymmetricCipher.cs b/src/Renci.SshNet/Security/Cryptography/AsymmetricCipher.cs index e5e70bee..8c7ab9c6 100644 --- a/src/Renci.SshNet/Security/Cryptography/AsymmetricCipher.cs +++ b/src/Renci.SshNet/Security/Cryptography/AsymmetricCipher.cs @@ -5,6 +5,12 @@ /// public abstract class AsymmetricCipher : Cipher { + /// + /// Gets the minimum data size. + /// + /// + /// The minimum data size. + /// public override byte MinimumSize { get { return 0; } diff --git a/src/Renci.SshNet/Security/KeyExchangeDiffieHellmanGroupExchangeShaBase.cs b/src/Renci.SshNet/Security/KeyExchangeDiffieHellmanGroupExchangeShaBase.cs index e6b4c4bd..99ec35a4 100644 --- a/src/Renci.SshNet/Security/KeyExchangeDiffieHellmanGroupExchangeShaBase.cs +++ b/src/Renci.SshNet/Security/KeyExchangeDiffieHellmanGroupExchangeShaBase.cs @@ -3,6 +3,9 @@ using Renci.SshNet.Messages.Transport; namespace Renci.SshNet.Security { + /// + /// Base class for "diffie-hellman-group-exchange" algorithms. + /// public abstract class KeyExchangeDiffieHellmanGroupExchangeShaBase : KeyExchangeDiffieHellman { private const int MinimumGroupSize = 1024; diff --git a/src/Renci.SshNet/Sftp/SftpFileAttributes.cs b/src/Renci.SshNet/Sftp/SftpFileAttributes.cs index ad8d0a7b..ab258bef 100644 --- a/src/Renci.SshNet/Sftp/SftpFileAttributes.cs +++ b/src/Renci.SshNet/Sftp/SftpFileAttributes.cs @@ -434,6 +434,12 @@ namespace Renci.SshNet.Sftp OthersCanExecute = (permission & S_IXOTH) == S_IXOTH; } + /// + /// Returns a byte array representing the current . + /// + /// + /// A byte array representing the current . + /// public byte[] GetBytes() { var stream = new SshDataStream(4);