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
MessageName
Gets the message name as defined in RFC 4250.
public override string MessageName { get; }
Property Value
MessageNumber
Gets the message number as defined in RFC 4250.
public override byte MessageNumber { get; }
Property Value
ServiceName
Gets the name of the service.
public ServiceName ServiceName { get; }
Property Value
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()