Table of Contents

Class Message

Namespace
Renci.SshNet.Messages
Assembly
Renci.SshNet.dll

Base class for all SSH protocol messages.

public abstract class Message : SshData

Inheritance

Derived

Inherited Members

Properties

BufferCapacity

Gets the size of the message in bytes.

protected override int BufferCapacity { get; }

Property Value

int

MessageName

Gets the message name as defined in RFC 4250.

public abstract string MessageName { get; }

Property Value

string

MessageNumber

Gets the message number as defined in RFC 4250.

public abstract byte MessageNumber { get; }

Property Value

byte

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WriteBytes(SshDataStream)

Writes the current message to the specified Renci.SshNet.Common.SshDataStream.

protected override void WriteBytes(SshDataStream stream)

Parameters

stream SshDataStream

The Renci.SshNet.Common.SshDataStream to write the message to.