The TelnetOutputStream type exposes the following members.

Constructors

  Name Description
Public method TelnetOutputStream
Creates a new TelnetOutputStream instance.

Methods

  Name Description
Public method BeginRead
Begins an asynchronous read from the NetworkStream.
(Inherited from NetworkStream.)
Public method BeginWrite
Begins an asynchronous write to a stream.
(Inherited from NetworkStream.)
Public method Close()()()()
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
(Inherited from Stream.)
Public method Close(Int32)
Closes the NetworkStream after waiting the specified time to allow data to be sent.
(Inherited from NetworkStream.)
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Protected method CreateWaitHandle Obsolete.
Allocates a WaitHandle object.
(Inherited from Stream.)
Public method Dispose()()()()
Releases all resources used by the Stream.
(Inherited from Stream.)
Protected method Dispose(Boolean)
Releases the unmanaged resources used by the NetworkStream and optionally releases the managed resources.
(Inherited from NetworkStream.)
Public method EndRead
Handles the end of an asynchronous read.
(Inherited from NetworkStream.)
Public method EndWrite
Handles the end of an asynchronous write.
(Inherited from NetworkStream.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Releases all resources used by the NetworkStream.
(Inherited from NetworkStream.)
Public method Flush
Flushes data from the stream. This method is reserved for future use.
(Inherited from NetworkStream.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected method MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public method PrintLn(String)
Write line of data to TelnetOutputStream with escaping IAC terminated with LF.
Public method PrintLn(String, String)
Write line of data to TelnetOutputStream with escaping IAC terminated with specified line terminator.
Public method PrintLn(String, String, Boolean)
Write line of data to TelnetOutputStream with escaping IAC terminated with specified line terminator.
Public method Read
Reads data from the NetworkStream.
(Inherited from NetworkStream.)
Public method ReadByte
Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
(Inherited from Stream.)
Public method Seek
Sets the current position of the stream to the given value. This method is not currently supported and always throws a NotSupportedException.
(Inherited from NetworkStream.)
Public method SetLength
Sets the length of the stream. This method always throws a NotSupportedException.
(Inherited from NetworkStream.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method Twrite(Byte)
Write data to TelnetOutputStream without escaping IAC.
Public method Twrite(array<Byte>[]()[][])
Write data to TelnetOutputStream without escaping IAC.
Public method Write
Writes data to the NetworkStream.
(Inherited from NetworkStream.)
Public method WriteByte
Write data to TelnetOutputStream with escaping IAC.
(Overrides Stream..::..WriteByte(Byte).)

Properties

  Name Description
Public property CanRead
Gets a value that indicates whether the NetworkStream supports reading.
(Inherited from NetworkStream.)
Public property CanSeek
Gets a value that indicates whether the stream supports seeking. This property is not currently supported.This property always returns false.
(Inherited from NetworkStream.)
Public property CanTimeout
Indicates whether timeout properties are usable for NetworkStream.
(Inherited from NetworkStream.)
Public property CanWrite
Gets a value that indicates whether the NetworkStream supports writing.
(Inherited from NetworkStream.)
Public property DataAvailable
Gets a value that indicates whether data is available on the NetworkStream to be read.
(Inherited from NetworkStream.)
Public property Length
Gets the length of the data available on the stream. This property is not currently supported and always throws a NotSupportedException.
(Inherited from NetworkStream.)
Public property Position
Gets or sets the current position in the stream. This property is not currently supported and always throws a NotSupportedException.
(Inherited from NetworkStream.)
Protected property Readable
Gets or sets a value that indicates whether the NetworkStream can be read.
(Inherited from NetworkStream.)
Public property ReadTimeout
Gets or sets the amount of time that a read operation blocks waiting for data.
(Inherited from NetworkStream.)
Protected property Socket
Gets the underlying Socket.
(Inherited from NetworkStream.)
Protected property Writeable
Gets a value that indicates whether the NetworkStream is writable.
(Inherited from NetworkStream.)
Public property WriteTimeout
Gets or sets the amount of time that a write operation blocks waiting for data.
(Inherited from NetworkStream.)

See Also