IrcValidation IsChannelName Method NetIRC2 IRC Client Library for .NET
Checks if the channel name is valid. The definition used by this test is somewhat loose. Channel names may not contain spaces, commas, NULL, BELL, CR, or LF, and must start with # or &.

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

public static bool IsChannelName(
	IrcString channel
)

Return Value

true if the name is valid.
See Also