Whisperstream Research Group - CommLib Documentation

Telnet Members

Telnet overview

Public Instance Constructors

Telnet Constructor Telnet constructor

Public Instance Properties

ClientOptions Gets/Sets the supported client options
CommandEndTokens Gets/Sets the list of tokens that are searched for during a synchronous send operation to determine the end of the operation
CommandTimeout Gets/Sets the time, in milliseconds, allowed to complete a synchronous send operation before a TimeoutException is thrown, default is 10000 (10 seconds)
ConnectionState gets the connection state of the telnet component
ConnectTimeout Gets/Sets the max time allowed to connect to the system before a ConnectionErrorException is thrown
Container (inherited from Component) Gets the IContainer that contains the Component.
IsConnected Gets the socket status
KeepAlive Gets/Sets whether or not the connection should be kept alive or not. This should be set after a connection has been made. Default is false.
OptionNegotiationEnabled Gets/Sets whether or not option negotiation will be preformed
Port Gets the remote telnet server's port
RemoteAddress Gets the remote telnet server's address
ServerOptions Gets/Sets the supported server options
ServerWelcomeText Gets the inital text that the remote host sent when the connection was was made
Site (inherited from Component) Gets or sets the ISite of the Component.
WelcomeTextEndToken Gets/Sets the endtoken used to demark the end of the server's welcome text string

Public Instance Methods

AsyncConnectOverloaded. creates a connections from this client to the servern asynchronously
AsyncSend Sends the data string to the telnet server asynchronously
ConnectOverloaded. creates a connections from this client to the server
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
DisableLogging disables logging, flushes any remaining data and closes the file
Disconnect disconnects the telnet connection
DisposeOverloaded. Called when the object is no longer in use
EnableLogging Turns logging on for all data send and received
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
GetWindowSize gets the current client window size
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
IsLogging returns whether or not logging is enabled
Reconnect First Disconnects then Connects to the intial remotehost and port
SendOverloaded. sends the string data to the telnet server and waits for a reply or times out if the default CommandTimeout elapses.
SetWindowSizeOverloaded. sets the telnet window size
ToString (inherited from Component)

Public Instance Events

Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.
OnConnectionStatusChanged Event fired when the connection status changes
OnOptionNegotiation Event fired when options are processed
OnReceive Event fired when any data is received from the telnet server

Protected Instance Properties

DesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component)Gets the list of event handlers that are attached to this Component.

Protected Instance Methods

Dispose (inherited from Component)Overloaded. Releases the unmanaged resources used by the Component and optionally releases the managed resources.
Finalize (inherited from Component)Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Telnet Class | Whisperstream.CommLib.TelnetLib Namespace