Table of Contents

Class ChannelRequestMessage

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

Represents SSH_MSG_CHANNEL_REQUEST message.

public class ChannelRequestMessage : ChannelMessage

Inheritance

Inherited Members

Constructors

ChannelRequestMessage()

Initializes a new instance of the Renci.SshNet.Messages.Connection.ChannelRequestMessage class.

public ChannelRequestMessage()

ChannelRequestMessage(uint, RequestInfo)

Initializes a new instance of the Renci.SshNet.Messages.Connection.ChannelRequestMessage class.

public ChannelRequestMessage(uint localChannelNumber, RequestInfo info)

Parameters

localChannelNumber uint

The local channel number.

info RequestInfo

The info.

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 override string MessageName { get; }

Property Value

string

MessageNumber

Gets the message number as defined in RFC 4250.

public override byte MessageNumber { get; }

Property Value

byte

RequestData

Gets channel request data.

public byte[] RequestData { get; }

Property Value

byte[]

RequestName

Gets the name of the request.

public string RequestName { get; }

Property Value

string

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()