Class DisconnectMessage
Represents SSH_MSG_DISCONNECT message.
public class DisconnectMessage : Message, IKeyExchangedAllowed
- Inheritance
-
DisconnectMessage
- Implements
- Inherited Members
Constructors
DisconnectMessage()
Initializes a new instance of the DisconnectMessage class.
public DisconnectMessage()
DisconnectMessage(DisconnectReason, string)
Initializes a new instance of the DisconnectMessage class.
public DisconnectMessage(DisconnectReason reasonCode, string message)
Parameters
reasonCode
DisconnectReasonThe reason code.
message
stringThe message.
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.
Description
Gets disconnect description.
public string Description { get; }
Property Value
Language
Gets message language.
public string Language { get; }
Property Value
MessageName
public override string MessageName { get; }
Property Value
MessageNumber
public override byte MessageNumber { get; }
Property Value
ReasonCode
Gets disconnect reason code.
public DisconnectReason ReasonCode { 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()