mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-10-27 03:59:24 +08:00
Added slashdocs.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user