IrcClient LogIn Method NetIRC2 IRC Client Library for .NET
Logs in to the server.

Namespace: NetIrc2
Assembly: NetIrc2 (in NetIrc2.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void LogIn(
	IrcString username,
	IrcString realname,
	IrcString nickname,
	IrcString hostname = null,
	IrcString servername = null,
	IrcString password = null
)

Parameters

username
Type: NetIrc2 IrcString
A username. If you aren't using a password, this can be anything you want.
realname
Type: NetIrc2 IrcString
Your real name, or some made up name.
nickname
Type: NetIrc2 IrcString
The IRC nickname to use.
hostname (Optional)
Type: NetIrc2 IrcString
The hostname to send, or null to send a default value.
servername (Optional)
Type: NetIrc2 IrcString
The servername to send, or null to send a default value.
password (Optional)
Type: NetIrc2 IrcString
The connection password, or null to not use one.
See Also