Thresher 1.2 Class Documentation

Sender.Register Method 

Register this connection with the IRC server.

[Visual Basic]
Public Sub Register( _
   ByVal newNick As String _
)
[C#]
public void Register(
   string newNick
);

Parameters

newNick
The changed nick name.

Remarks

This method should be called when the initial attempt to register with the IRC server fails because the nick is already taken. To be informed when this fails you must be subscribed to OnNickError. If HandleNickTaken is set to true (which is its default value) then Thresher will automatically create an alternate nick and use that. The new nick can be retrieved by calling ConnectionData.

See Also

Sender Class | Sharkbite.Irc Namespace | NameGenerator