LumiSoft Mail Server User API
ReadLine Method (maxLineLength)
Namespaces > LumiSoft.Net > SocketEx > ReadLine(Int32)
Reads line from socket.NOTE: CRLF isn't written to destination stream. If maximum allowed line length is exceeded line is read to end, but isn't stored to buffer and exception is thrown after line reading.
Syntax

C# | Visual Basic | Managed C++

    public string ReadLine (
    	int maxLineLength
    )

    Public Function ReadLine ( _
    	maxLineLength As Integer _
    ) As String

    public:
    String^ ReadLine (
    	int maxLineLength
    )

Parameters

maxLineLength (Int32)
  Maximum line length in bytes.

Return Value
Returns readed line.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)