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.

System.Object
   ServerProperties

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

Remarks

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

Example

            //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.
            

Requirements

Namespace: Sharkbite.Irc

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

See Also

ServerProperties Members | Sharkbite.Irc Namespace