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

Inherited Members

Constructors

ServiceRequestMessage(ServiceName)

Initializes a new instance of the Renci.SshNet.Messages.Transport.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

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

ServiceName

Gets the name of the service.

public ServiceName ServiceName { get; }

Property Value

ServiceName

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