Thresher 1.2 Class Documentation

Sender.Stats Method (StatsQuery, String)

Request certain kinds of statistics about the current server.

[Visual Basic]
Overloads Public Sub Stats( _
   ByVal query As StatsQuery, _
   ByVal targetServer As String _
)
[C#]
public void Stats(
   StatsQuery query,
   string targetServer
);

Parameters

query
The type of query to send. See StatsQuery for choice.
targetServer
Specifies the server that should process the request. Can include wildcards.

Remarks

Possible Errors

Exceptions

Exception TypeCondition
ArgumentExceptionIf the target server name is too long.

Example

            //Request list of Operators from the server 'irc.gnome.org'
            connection.Sender.Stats( StatsQuery.Operators, "irc.gnome.org" );
            

See Also

Sender Class | Sharkbite.Irc Namespace | Sender.Stats Overload List | OnStats