Thresher 1.2 Class Documentation

Sender.Links Method (String[])

Request all server names which are known by the target server and which match a given host mask.

[Visual Basic]
Overloads Public Sub Links( _
   ParamArray masks As String() _
)
[C#]
public void Links(
   params string[] masks
);

Parameters

masks
Either a single string which acts as a host mask filter for the query. Or two strings with the first as host mask and the second a target server. Any other arguments will be ignored.

Remarks

Possible Errors

Exceptions

Exception TypeCondition
ArgumentExceptionIf the masks are too long.

Example

            //Request names from the current server
            connection.Sender.Links();
            //Request names of all servers ending in '.net' from the current server
            connection.Sender.Links("*.edu" );
            //Request names of all servers ending in '.edu' from '*.gnome.org' servers
            connection.Sender.Links("*.edu", "*.gnome.org");
            

See Also

Sender Class | Sharkbite.Irc Namespace | Sender.Links Overload List | OnLinks