SendNow() публичный Метод

If connected, splits the text by line terminators, triggers the IrcClient.OnBeforeSend method and sends each line + "\r\n" immediately to the server. Throws an exception if one of the lines exceed the IRC-conform max of 512 bytes (510 + "\r\n").
public SendNow ( string text ) : void
text string A string that will be immediately sent.
Результат void
Пример #1
0
 /// <summary>
 /// Uses the Client.SendNow(text) to send a line of text immediately
 /// to the server.
 /// </summary>
 public void SendNow(string text)
 {
     Client.SendNow(text);
 }
Пример #2
0
 /// <summary>
 /// Uses the Client.SendNow(text) to send a line of text immediately
 /// to the server.
 /// </summary>
 public void SendNow(string text, params object[] args)
 {
     Client.SendNow(string.Format(text, args));
 }