Raised when a Telnet command is received from the server.
Syntax
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As Telnet
Dim handler As CommandEventHandler
AddHandler instance.CommandReceived, handler |
Event Data
The event handler receives an argument of type CommandEventArgs containing data related to this event. The following CommandEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Command | The command sent by the remote host. |
| OptionCode | The option pertaining to the received command. |
| SubOption | Suboption pertaining to the received command. |
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also