isValidText

Checks if the provided message is valid (i.e.) does not contain any CR or LF characters in it

static
bool
isValidText
(
string message
)

Parameters

message string

the message to test

Return Value

Type: bool

<code>true</code> if the message is valid, <code>false</code> false otherwise

Meta