Whisperstream Research Group - CommLib Documentation

Telnet.Send Method (String, String[], Int32)

sends the string data to the telnet server and waits for a reply or times out if the default CommandTimeout elapses.

public string Send(
   string data,
   string[] endTokens,
   int commandTimeout
);

Parameters

data
the data to be sent
endTokens
the list of end tokens to search for
commandTimeout
the number of milliseconds to wait before throwing a TimeoutException if no response is found

Return Value

the server's response to the data sent

See Also

Telnet Class | Whisperstream.CommLib.TelnetLib Namespace | Telnet.Send Overload List