Reads data from server until gets "\r\n" string.

Namespace: Lesnikowski.Client
Assembly:  Mail (in Mail.dll)
Version: 2.7.2897.36617

Syntax

C#
public string ReceiveLine()
Visual Basic (Declaration)
Public Function ReceiveLine As String
Visual C++
public:
String^ ReceiveLine ()

Return Value

Response: single-line string (\r\n excluded) -or- null if the end of the input stream is reached.

Exceptions

ExceptionCondition
Lesnikowski.Client..::ServerException An error occurred when accessing the socket. -or- The NetworkStream is closed. -or- There is a failure reading from the network.

See Also