IrcIdentity TryParse Method NetIRC2 IRC Client Library for .NET
Tries to parse a string to get an IRC identity. IRC identities are formatted as nickname!username@hostname.

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

public static bool TryParse(
	IrcString string,
	out IrcIdentity identity
)

Parameters

string
Type: NetIrc2 IrcString
The string to parse.
identity
Type: NetIrc2 IrcIdentity 
The identity, or null if parsing fails.

Return Value

true if parsing completed successfully.
See Also