PowerTCP Emulation for .NET
Telnet Class Members
Fields  Properties  Methods  Events

The following tables list the members exposed by Telnet.

Public Constructors
 NameDescription
Public ConstructorTelnet ConstructorOverloaded.   
Top
Public Fields
 NameDescription
Public FieldDefaultPort The "well-known" default port 23 for Rsh operations.  
Top
Public Properties
 NameDescription
Public PropertyBinary Gets or sets the state of the Telnet Transmit-Binary option.  
Public PropertyClientOptions Gets a collection of desired client options.  
Public PropertyCloseTime Returns the DateTime the connection was closed. (Inherited from Dart.Emulation.TcpBase)
Public PropertyConnectTime Returns the DateTime the connection was established. (Inherited from Dart.Emulation.TcpBase)
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyCRLF Set to true if the Pty property is used and a CR should be converted to a CRLF for sending. (Inherited from Dart.Emulation.PtyBase)
Public PropertyEcho Gets or sets the state of the Telnet Echo option.  
Public PropertyEncoding Character encoding used by the component. (Inherited from Dart.Emulation.ComponentBase)
Public PropertyLocalEcho Set to true if the Pty property is used and keystrokes should be displayed in the textbox. (Inherited from Dart.Emulation.PtyBase)
Public PropertyNetworkStreamReturns the NetworkStream object created when Connect() is called. (Inherited from Dart.Emulation.TcpBase)
Public PropertyPty Gets or sets a display control to use for automatic pseudo terminal support. (Inherited from Dart.Emulation.PtyBase)
Public PropertyRemoteEndPoint Gets the remote address and port of the connection. (Inherited from Dart.Emulation.TcpBase)
Public PropertyServerOptions Gets a collection of desired server options.  
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertySocket Gets the socket used by the component for communications. (Inherited from Dart.Emulation.SocketBase)
Public PropertySocketOption Gets and sets the socket options for classes derived from TcpBase. (Inherited from Dart.Emulation.TcpBase)
Public PropertySslStreamReturns the SslStream object created when AuthenticateAsClient or AuthenticateAsServer are called. (Inherited from Dart.Emulation.TcpBase)
Public PropertyState Gets the status of the connection as of the last socket operation. (Inherited from Dart.Emulation.TcpBase)
Public PropertySynchronizingObject Gets or sets the object used to marshal data to the UI thread (for raising events). (Inherited from Dart.Emulation.ComponentBase)
Public PropertySyncRoot Gets an object that is used to synchronize access to the upper layer protocol in use. (Inherited from Dart.Emulation.ComponentBase)
Public PropertyTag Gets or sets an object that stores any user data. (Inherited from Dart.Emulation.ComponentBase)
Public PropertyTerminalType Gets or sets the terminal type used for the Telnet TerminalType option.  
Public PropertyWindowSize Gets or sets the window-size used for the Telnet WindowSize option.  
Top
Public Methods
 NameDescription
Public MethodAbort Performs a hard close of the connection. (Inherited from Dart.Emulation.TcpBase)
Public MethodAuthenticateAsClientOverloaded.  Authenticates the server when establishing a secure connection. (Inherited from Dart.Emulation.TcpBase)
Public MethodClose Gracefully closes the connection. (Inherited from Dart.Emulation.TcpBase)
Public MethodConnectOverloaded.  Connects to a Telnet server.  
Public MethodConnectAsyncConnect to a server using the configuration specified by session. (Inherited from Dart.Emulation.TcpBase)
Public MethodCreateObjRef (Inherited from System.MarshalByRefObject)
Public MethodDeserialize Deserialize a previously serialized object. (Inherited from Dart.Emulation.ComponentBase)
Public MethodDispose (Inherited from System.ComponentModel.Component)
Public MethodGetLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodGetStreamOverridden.  Provides access to the underlying Stream.  
Public MethodInitializeLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodLogin Logs into a telnet server using properties found in the settings parameter.  
Public MethodMarshalOverloaded.  Marshals data to the UI thread. (Inherited from Dart.Emulation.TcpBase)
Public MethodReadOverloaded.  Receives data from the remote host. (Inherited from Dart.Emulation.TcpBase)
Public MethodReadAsync Start an asynchronous read on the socket. (Inherited from Dart.Emulation.TcpBase)
Public MethodReadToCount Read until count bytes are read, an exception is thrown, or the connection is closed. (Inherited from Dart.Emulation.TcpBase)
Public MethodReadToDelimiterOverloaded.  Read until the delimiter is found, an exception is thrown, or the connection is closed. (Inherited from Dart.Emulation.TcpBase)
Public MethodReadToEnd Read until the connection is closed or an exception is thrown. (Inherited from Dart.Emulation.TcpBase)
Public MethodRefresh Negotiates Telnet options that have been added to the ClientOptions and ServerOptions collections.  
Public MethodSendCommand Sends a Telnet (non-option) command to the server.  
Public MethodSendOption Sends a Telnet option to the server.  
Public MethodSendSubOption Sends a suboption request or response to the server.  
Public MethodSerialize Serialize an object to the provided destination stream. (Inherited from Dart.Emulation.ComponentBase)
Public MethodShutdownSsl Signals the remote host to shutdown the SSL connection. (Inherited from Dart.Emulation.TcpBase)
Public MethodStart Starts a worker thread on which the specified delegate function executes.  
Public MethodToString (Inherited from System.ComponentModel.Component)
Public MethodWriteOverloaded.  Sends data to the remote host. (Inherited from Dart.Emulation.TcpBase)
Public MethodWriteAsync Start an asynchronous write on the socket. (Inherited from Dart.Emulation.TcpBase)
Top
Public Events
 NameDescription
Public EventClientOptionChanged Raised when a client Telnet option has changed state (WILL or WONT confirmed).  
Public EventCommandReceived Raised when a Telnet command is received from the server.  
Public EventDataRaised when Marshal(Data,String,Object) is used. (Inherited from Dart.Emulation.TcpBase)
Public EventDisposed (Inherited from System.ComponentModel.Component)
Public EventErrorRaised when Marshal(Exception) is used or an unhandled Exception is thrown in a worker thread created using Start. (Inherited from Dart.Emulation.ComponentBase)
Public EventLog Raised when data is read or written. (Inherited from Dart.Emulation.TcpBase)
Public EventServerOptionChanged Raised when a server Telnet option has changed state (DO or DONT confirmed).  
Public EventStateChanged Raised when the value of the State property changes. (Inherited from Dart.Emulation.TcpBase)
Public EventUserStateRaised when Marshal(String,Object) is used. (Inherited from Dart.Emulation.ComponentBase)
Top
See Also

Reference

Telnet Class
Dart.Emulation Namespace


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic