Click or drag to resize

IServer Interface

Represents a server object

Namespace:  AdiIRCAPI
Assembly:  AdiIRCAPI (in AdiIRCAPI.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
public interface IServer

The IServer type exposes the following members.

Properties
  NameDescription
Public propertyAway
Returns whether ia away on this IServer
Public propertyAwayMessage
Returns the away message on this IServer
Public propertyAwayTime
Returns the time user went away on this IServer (UTC time)
Public propertyBanLength
Max ban list count on this IServer (retrieved from 005)
Public propertyBanType
Returns the custom default BanType on this IServer, if any
Public propertyChannelModes
Returns the available channel modes on this IServer (retrieved from 005 chanmodes=)
Public propertyChannelModesWithArgs
Returns the available channel modes which can have an argument on this IServer (retrieved from 005 chanmodes=)
Public propertyChannelModesWithRequiredArgs
Returns the available channel modes which must have an argument on this IServer (retrieved from 005 chanmodes=)
Public propertyChannelPrefix
Get supported channelprefixes on this IServer
Public propertyConnectedAt
Returns the time user connected to this IServer (UTC time)
Public propertyConnectError
Returns whether the last connection attempt failed on the IServer
Public propertyConnectionId
Returns the connection id on this IServer
Public propertyConnectionSuccess
Returns whether the last connect attempt was a success
Public propertyDelayBetweenJoins
Returns number of seconds to delay between each channel join on this IServer
Public propertyDelayJoin
Returns number of seconds to delay joining channels on this IServer
Public propertyEditbox
Returns the IEditbox for the IServer window (can be null)
Public propertyEncoding
Get the encoding used on this IServer
Public propertyError
Returns whether the error type of the last connections error (0 = no error)
Public propertyExceptLength
Max except list count on this IServer (retrieved from 005)
Public propertyExternalHost
Get the external host discovered from this IServer
Public propertyExternalIp
Get the external Ip discovered from this IServer
Public propertyGetChannels
Get a collection of IChannels in this IServer
Public propertyGetUsers
Get a collection of IUsers in this IServer
Public propertyHost
Get the IServer hostname
Public propertyHostIP
Get the IServer IP address
Public propertyHostTarget
Get the IServer target hostname entered in the Serverlist or /server
Public propertyIdleTime
Returns the time user last sent a message to this IServer (UTC time)
Public propertyInviteLength
Max invite list count on this IServer (retrieved from 005)
Public propertyIsConnected
Returns whether the IServer is connected
Public propertyIsConnecting
Returns whether the IServer is connecting
Public propertyIsLoggingOn
Returns whether the user is logging on IServer
Public propertyIsReconnecting
Returns whether the IServer is re-connecting
Public propertyIsRegistered
Returns whether the user is logged on to the IServer
Public propertyIsUsingSSL
Get whether IServer is using SSL secure connection
Public propertyLag
Get server lag
Public propertyLastQuitMessage
Returns the last QuitMessage sent on this IServer
Public propertyLoginMethod
Returns the loginmethod for this IServer
Public propertyModesLength
Returns number of modes which can be in one MODE request on this IServer
Public propertyName
Get the IServer name
Public propertyNetwork
Get the IServer network name
Public propertyNetworkLabel
Network label for this IServer
Public propertyNick
Get current nick
Public propertyPort
Get the IServer port
Public propertyPrefNick
Get prefered nick
Public propertyPrefNick2
Get prefered alternate nick
Public propertyQuietLength
Max quiet list count on this IServer (retrieved from 005)
Public propertyQuitMessage
Returns custom QuitMessage on this IServer, if enabled
Public propertyRealName
Get realname
Public propertyRegainNick
Returs or set whether to use RegainNick on this IServer
Public propertyTopicLength
Max topic length on this IServer (retrieved from 005)
Public propertyUseGlobalQuitMessage
Returns whether the the IServer uses the global or custom quit message
Public propertyUseNetworkLabel
Returns whether to use network label on this IServer
Public propertyUserNick
Get usernick
Public propertyUserPrefix
Get supported userprefix characters on this IServer
Public propertyUserPrefixChars
Get supported userprefix letters on this IServer
Public propertyWindow
returns the IWindow associated with this IServer
Top
Methods
  NameDescription
Public methodConnect
Connect this IServer if it's not connected
Public methodDisconnect
Disconnect this IServer if it's connected
Public methodFindChannel
Finds the matching IChannel.
Public methodFindUser
Finds the matching User.
Public methodSendFakeRaw
Sends raw data to the client IServer, use this to fake messages E.g when you want to replace something in a PRIVMSG
Public methodSendRaw
Sends raw data to the IServer
Public methodSendRawData
Sends raw bytes to the IServer, bypasssing any encodings, AdiIRC is not aware when these messages are sent.
Public methodUptime
Returns Server Uptime in milliseconds if type = 1 returns a duration, if type = 2 returns a duration but without seconds, and if type = 3 returns seconds instead of milliseconds.
Top
See Also