LumiSoft Mail Server User API
ReadSpecifiedLength Method (lengthToRead, storeStream)
Namespaces > LumiSoft.Net > SocketEx > ReadSpecifiedLength(Int32, Stream)
Reads specified length of data from socket and store to specified stream.
Syntax

C# | Visual Basic | Managed C++

    public void ReadSpecifiedLength (
    	int lengthToRead,
    	Stream storeStream
    )

    Public Sub ReadSpecifiedLength ( _
    	lengthToRead As Integer, _
    	storeStream As Stream _
    )

    public:
    void ReadSpecifiedLength (
    	int lengthToRead,
    	Stream^ storeStream
    )

Parameters

lengthToRead (Int32)
  Specifies how much data to read from socket.
storeStream (Stream)
  Stream where to store data.

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