Table of Contents

Class ServiceRequestMessage

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

Represents SSH_MSG_SERVICE_REQUEST message.

public class ServiceRequestMessage : Message
Inheritance
ServiceRequestMessage
Inherited Members

Constructors

ServiceRequestMessage(ServiceName)

Initializes a new instance of the ServiceRequestMessage class.

public ServiceRequestMessage(ServiceName serviceName)

Parameters

serviceName ServiceName

Name of the service.

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.

MessageName

public override string MessageName { get; }

Property Value

string

MessageNumber

public override byte MessageNumber { get; }

Property Value

byte

ServiceName

Gets the name of the service.

public ServiceName ServiceName { get; }

Property Value

ServiceName

The name of the service.

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