Added slashdocs.

This commit is contained in:
drieseng
2016-06-04 17:38:11 +02:00
parent 037e58270f
commit b2eae63e57
4 changed files with 21 additions and 0 deletions
@@ -27,6 +27,12 @@
/// </value>
public uint MaximumPacketSize { get; private set; }
/// <summary>
/// Gets the size of the message in bytes.
/// </summary>
/// <value>
/// The size of the messages in bytes.
/// </value>
protected override int BufferCapacity
{
get
@@ -5,6 +5,12 @@
/// </summary>
public abstract class AsymmetricCipher : Cipher
{
/// <summary>
/// Gets the minimum data size.
/// </summary>
/// <value>
/// The minimum data size.
/// </value>
public override byte MinimumSize
{
get { return 0; }
@@ -3,6 +3,9 @@ using Renci.SshNet.Messages.Transport;
namespace Renci.SshNet.Security
{
/// <summary>
/// Base class for "diffie-hellman-group-exchange" algorithms.
/// </summary>
public abstract class KeyExchangeDiffieHellmanGroupExchangeShaBase : KeyExchangeDiffieHellman
{
private const int MinimumGroupSize = 1024;
@@ -434,6 +434,12 @@ namespace Renci.SshNet.Sftp
OthersCanExecute = (permission & S_IXOTH) == S_IXOTH;
}
/// <summary>
/// Returns a byte array representing the current <see cref="SftpFileAttributes"/>.
/// </summary>
/// <returns>
/// A byte array representing the current <see cref="SftpFileAttributes"/>.
/// </returns>
public byte[] GetBytes()
{
var stream = new SshDataStream(4);