Discuss this help topic in SecureBlackbox Forum
Retrieves the header and specified number of message lines from the server
Declaration
Parameters
Return value
The overloaded method which reads the data into the buffer returns the number of bytes copied to the buffer.
Description
Call this method to retrieve the header and N first lines of the message from the server. The method uses TOP command, which is optional, so before using the method check its availability using ExtTOPSupported property.
The simplest method overload (which has only Index as a parameter) passes message data via OnMessageLine event. Other overloads eiter let you provide a memory buffer or Stream/TStream object or parse a message for you.