Thresher 1.2 Class Documentation

ServerProperties Class

Encapsulates the collection of properties sent by the IRC server after registration.

For a list of all members of this type, see ServerProperties Members.


[Visual Basic]
NotInheritable Public Class ServerProperties
public sealed class ServerProperties


See the server_properties.pdf file for a list of comon properties.


            //This will only be non null if the connection has already received
            //a '005' reply and that such a reply is actually sent by the server.
            //This will happen right after registration.
            //Instances are only retrieved from a Connection and not instantiated directly.
            ServerProperties properties = connection.ServerProperties;
            //It should always be tested for null
            if( properties != null ) {
            Console.Writeline("NICKLEN is" + properties["NICKLEN"] );
            //Only a handful of properties will ever be available.


Namespace: Sharkbite.Irc

Assembly: Sharkbite.Thresher (in Sharkbite.Thresher.dll)

See Also

ServerProperties Members | Sharkbite.Irc Namespace