Whisperstream Research Group - CommLib Documentation

Telnet Methods

The methods of the Telnet class are listed below. For a complete list of Telnet class members, see the Telnet Members topic.

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)

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