Table of Contents

Class ChannelMessage

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

Base class for all channel specific SSH messages.

public abstract class ChannelMessage : Message
Inheritance
ChannelMessage
Derived
Inherited Members

Constructors

ChannelMessage()

Initializes a new instance of the ChannelMessage class.

protected ChannelMessage()

ChannelMessage(uint)

Initializes a new instance of the ChannelMessage class with the specified local channel number.

protected ChannelMessage(uint localChannelNumber)

Parameters

localChannelNumber uint

The local channel number.

Properties

BufferCapacity

Gets the size of the message in bytes.

protected override int BufferCapacity { get; }

Property Value

int

The size of the messages in bytes.

LocalChannelNumber

Gets or sets the local channel number.

public uint LocalChannelNumber { get; protected set; }

Property Value

uint

The local channel number.

Methods

LoadData()

Called when type specific data need to be loaded.

protected override void LoadData()

SaveData()

Called when type specific data need to be saved.

protected override void SaveData()

ToString()

Returns a string that represents this instance.

public override string ToString()

Returns

string

A string that represents this instance.