SocketTools .NET Edition

SshClient.LineMode Enumeration

Specifies how end-of-line character sequences are sent to the server.

[Visual Basic]
Public Enum SshClient.LineMode
[C#]
public enum SshClient.LineMode

Members

Member Name Description
newLineDefault There are no changes to how data is sent to the server. Any carriage return or linefeed characters that are sent using the Write method will be sent as-is. The WriteLine method will terminate each line of text with a carriage return and linefeed (CRLF) sequence. This is the default line mode that is set when a new connection is established.
newLineCR A carriage return is used as the end-of-line character. Any data sent using the Write method that contains only a linefeed (LF) character or a carriage return and linefeed (CRLF) sequence to indicate the end-of-line will be replaced by a carriage return (CR) character. The WriteLine method will terminate each line of text with a single carriage return character.
newLineLF A linefeed is used as the end-of-line character. Any data sent using the Write method that contains only a carriage return (CR) character or a carriage return an linefeed (CRLF) sequence to indicate the end-of-line will be replaced by a linefeed (LF) character. The WriteLine method will terminate each line of text with a single linefeed character.
newLineCRLF A carriage return and linefeed (CRLF) character sequence is used to indicate the end-of-line. Any data sent using the Write method that contains only a carriage return (CR) or linefeed (LF) will be replaced by a carriage return and linefeed. The WriteLine method will terminate each line of text with a carriage return and linefeed sequence.

Requirements

Namespace: SocketTools

Assembly: SocketTools.SshClient (in SocketTools.SshClient.dll)

See Also

SocketTools Namespace | NewLine Property (SocketTools.SshClient)