More .NET components

Events

AuthenticationRequest event #

The Ssh.AuthenticationRequest event is raised when an interactive authentication request is received from the server and cannot be answered programmatically.

Tip: For sample code, see Keyboard-interactive authentication.

BannerReceived event #

The Ssh.BannerReceived event is raised when a user authentication banner message is received from the server. Please note that not all servers send such messages.

FingerprintCheck event #

The Ssh.FingerprintCheck event is raised when a fingerprint is received from the server and needs to be validated.

Tip: For sample code, see Verify server fingerprint.

ActionRequested event #

The TerminalControl.ActionRequested/VirtualTerminal.ActionRequested event is raised when a client action is requested by the server. Client actions include disconnect request, window title changes, external command execution, etc.

Note: Most terminals don't use this feature.

DataReceived event #

The TerminalControl.DataReceived/VirtualTerminal.DataReceived event is raised when data has been received from the server and processed. Event arguments contain the raw data (as received from the server) and stripped data (escape sequences removed).

Disconnected event #

The TerminalControl.Disconnected/VirtualTerminal.Disconnected event is raised when the underlying communication channel to the server has been closed.

RemoteResize event #

The TerminalControl.RemoteResize/VirtualTerminal.RemoteResize event is raised when the screen resize is requested by the server.

Note: Most terminals don't use this feature.

Tip: For related methods and properties, see Resizing.

ProcessingError event #

The TerminalControl.ProcessingError event is raised when an error occurs while processing incoming data.

SelectionChanged event #

The TerminalControl.SelectionChanged event is raised when selection area has been changed.

Tip: For related methods and properties, see Clipboard operations.

Copying event #

The TerminalControl.Copying event is raised when a text is to be copied from the terminal screen to clipboard. Event arguments contain the text to be copied and the event handler can change it.

Tip: For related methods and properties, see Clipboard operations.

Pasting event #

The TerminalControl.Pasting event is raised when a text is to be pasted from clipboard to the terminal. Event arguments contain the text to be copied and the event handler can change it.

Tip: For related methods and properties, see Clipboard operations.