Telnet Factory for .NET

Telnet Members

Telnet overview

Protected Internal Static Fields

AOTelnet command : Abort output.
AYTTelnet command : Are You There.
BELTelnet special character : Bell.
BRKBreak. NVT character BRK.
BSTelnet special character : Backspace.
CRTelnet special character : Carriage Return.
DMTelnet command : Data Mark.
DOTelnet command : DO.
DONTTelnet command : DON'T.
ECTelnet command : Erase character.
ELTelnet command : Erase line.
FFTelnet special character : Form Feed.
GATelnet command : Go ahead.
HTTelnet special character : Horizontal Tab.
IACTelnet command : Interpret as Command.
IPTelnet command : Interrupt Process.
LFTelnet special character : Line Feed.
NOPTelnet command : No operation.
NULLTelnet special character : No operation.
SBTelnet command : Subnegotiation begin.
SETelnet command : End of subnegotiation parameters.
VTTelnet special character : Vertical Tab.
WILLTelnet command : WILL.
WONTTelnet command : WON'T.

Public Instance Constructors

Telnet Overloaded. Initializes a new instance of the Telnet class.

Public Instance Properties

Container (inherited from Component)Gets the IContainer that contains the Component.
DebugGets/Sets Telnet debug flag.
DebugStreamGets/Sets debug output stream.
EncodingGets/Sets the Encoding used when converting between string and bytes. Default is Encoding.UTF8
HostnameGets/Sets the TELNET server host name.
LicenseKey License key.
PortGets/Sets the TELNET server port number.
ReadTimeout Gets or sets the amount of time a Socket will wait to receive data once initiated.
Site (inherited from Component)Gets or sets the ISite of the Component.
TimeoutGets/Sets the Socket Timeout parameter.

Public Instance Methods

CommandReadInterprets a telnet command received from the Telnet NetworkStream.
ConnectEstablishes a telnet connection to the server specified in the Telnet constructor.
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.
DebugMessageWrites additional debug information to the debug stream.
DisconnectDisconnects from TELNET server.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FireConnectedEventFires ConnectedEvent event.
FireDataReceivedEventFires DataReceivedEvent event.
FireDisconnectedEventFires DisconnectedEvent event.
FireDontOptionEventFires DontOptionEvent event.
FireDoOptionEventFires DoOptionEvent event.
FireSubOptionEventFires SubOptionEvent event.
FireWillOptionEventFires WillOptionEvent event.
FireWontOptionEventFires WontOptionEvent event.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is 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.
GetOutputStreamGets the output stream of the socket connection.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
SendCommandOverloaded. Sends telnet command.
SendDontOptionSends a telnet DONT command.
SendDoOptionSends a telnet DO command.
SendSubOptionSends telnet sub option.
SendWillOptionSends a telnet WILL command.
SendWontOptionSends a telnet WONT command.
ToString (inherited from Component)Returns a String containing the name of the Component, if any. This method should not be overridden.

Public Instance Events

ConnectedEventOccurs after a successful connection to the TELNET server.
DataReceivedEventOccurs after successfully reading data from the TELNET server.
DisconnectedEventOccurs after a successful disconnection from the TELNET server.
Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.
DontOptionEventOccurs afer a successful DONT option is received from the TELNET server.
DoOptionEventOccurs after a successful DO option is received from the TELNET server.
SubOptionEventOccurs after a successful DOSUB option is received from the TELNET server.
WillOptionEventOccurs after a successful WILL option is received from the TELNET server.
WontOptionEventOccurs after a successful WONT option is received from the TELNET server.

Protected Instance Fields

inputInput stream for telnet.
outputOutput stream for telnet.

Protected Instance Properties

CanRaiseEvents (inherited from Component)Gets a value indicating whether the component can raise an event.
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

DisposeOverloaded. Clean up any resources being used.
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 MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.

See Also

Telnet Class | Jscape.Telnet Namespace