Click or drag to resize

IServer Interface

Represents a server window.

Namespace:  AdiIRCAPIv2.Interfaces
Assembly:  AdiIRCAPIv2 (in AdiIRCAPIv2.dll) Version: 2.0.1.7 (2.0.1.7)
Syntax
C#
public interface IServer : IWindow

The IServer type exposes the following members.

Properties
  NameDescription
Public propertyAlternativeNicks
Get a list of alternative nicks.
Public propertyAway
Returns whether you are away on this IServer.
Public propertyAwayMessage
Returns your away message on this IServer.
Public propertyAwayTime
Returns the time you 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 propertyChannels
Get a list of IChannels in this IServer.
Public propertyConnectedAt
Returns the time you 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 associated with this IWindow.
(Inherited from IWindow.)
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. Deprecated, use Channels instead.
Public propertyGetUsers
Get a collection of IUsers in this IServer. Deprecated, use Users instead.
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 you last sent a message to this IServer. (UTC time)
Public propertyInviteLength
Max invite list count on this IServer. (retrieved from 005)
Public propertyIRCv3Caps
Returns IRCv3 caps discovered during CAP LS/NEW.
Public propertyIsConnected
Returns whether the IServer is connected.
Public propertyIsConnecting
Returns whether the IServer is connecting.
Public propertyIsLoggingOn
Returns whether you are logging on IServer.
Public propertyIsMdiChild
Returns whether the IWindow is a MDI child.
(Inherited from IWindow.)
Public propertyIsReconnecting
Returns whether the IServer is re-connecting.
Public propertyIsRegistered
Returns whether you are 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 propertyLogFile
Returns the name of the log file associated with this IWindow.
(Inherited from IWindow.)
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
Return the name of the IWindow.
(Inherited from IWindow.)
Public propertyNetwork
Get the IServer network name.
Public propertyNetworkLabel
Network label for this IServer.
Public propertyNick
Get current nick.
Public propertyNicklist
Returns the INicklist associated with this IWindow.
(Inherited from IWindow.)
Public propertyPictureWindow
Returns whether the IWindow is a picture window.
(Inherited from IWindow.)
Public propertyPort
Get the IServer port.
Public propertyPrefNick
Get prefered 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 propertyRealWindowName
Return the internal window name of the IWindow.
(Inherited from IWindow.)
Public propertyRegainNick
Returs or set whether to use RegainNick on this IServer.
Public propertySelf
Returns your own IUser on this IServer.
Public propertyServer
Returns the IServer associated with this IWindow.
(Inherited from IWindow.)
Public propertyServerVariables
Returns server variables discovered in RAW 005 messages.
Public propertyTextView
Returns the ITextView associated with this IWindow.
(Inherited from IWindow.)
Public propertyTitle
Returns the IWindow title text.
(Inherited from IWindow.)
Public propertyTopicLength
Max topic length on this IServer. (retrieved from 005)
Public propertyUnreadMessages
Returns number of unread messages in this IWindow.
(Inherited from IWindow.)
Public propertyUptime
Returns Server Uptime as a TimeSpan.
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 propertyUsers
Get a collection of IUsers in this IServer.
Public propertyVisible
Returns whether the IWindow is visible.
(Inherited from IWindow.)
Public propertyWindowHandle
Return the IWindow window handle.
(Inherited from IWindow.)
Public propertyWindowId
Returns the window id of this IWindow.
(Inherited from IWindow.)
Public propertyWindowState
Returns the IWindow window state.
(Inherited from IWindow.)
Top
Methods
  NameDescription
Public methodConnect
Connect this IServer if it's not connected.
Public methodDisconnect
Disconnect this IServer if it's connected.
Public methodEvaluate
Evaluates identifiers in a script line to this IWindow.
(Inherited from IWindow.)
Public methodExecuteCommand
Executes a /command to this IWindow. Using double slashes //command parses and executes the command as a script in this IWindow.
(Inherited from IWindow.)
Public methodOutputText
Outputs a message to this IWindow.
(Inherited from IWindow.)
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.
Top
See Also