Dart.Ssh Namespace : SessionStream Class |
The following tables list the members exposed by SessionStream.
Name | Description | |
---|---|---|
SessionStream Constructor | Provides a stream interface to a Session. |
Name | Description | |
---|---|---|
CanRead | Overridden. Gets a value indicating if the session is active. | |
CanSeek | Overridden. Gets a value indicating if a seek can be performed on the stream. Always returns false. | |
CanTimeout | Overridden. Gets a value indicating if the stream can timeout. Always returns true. | |
CanWrite | Overridden. Gets a value indicating if the stream can be written to. | |
DisableInnerExceptions | Set to true to disable the use of Exception.InnerException. | |
ErrorStream | Gets the Stream that can be read for error conditions. | |
Length | Overridden. The length of data available on the stream. This method always throws a NotSupportedException. | |
Position | Overridden. Gets the position in the stream. Use of this property throws a System.NotSupportedException. | |
ReadTimeout | Overridden. Gets or sets the read timeout period for the Stream in milliseconds. | |
Tag | Gets or sets an object that stores any user data. | |
WriteTimeout | Overridden. Gets or sets the write timeout period for the Stream in milliseconds. |
Name | Description | |
---|---|---|
BeginRead | Begins an asynchronous read operation. (Consider using System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream) | |
BeginWrite | Begins an asynchronous write operation. (Consider using System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream) | |
Close | Overridden. Closes the stream. | |
CopyTo | Overloaded. Reads the bytes from the current stream and writes them to another stream. (Inherited from System.IO.Stream) | |
CopyToAsync | Overloaded. Asynchronously reads the bytes from the current stream and writes them to another stream. (Inherited from System.IO.Stream) | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) | |
Dispose | Overloaded. Overridden. Releases the unmanaged resources used by the Stream and optionally releases the managed resources. | |
EndRead | Waits for the pending asynchronous read to complete. (Consider using System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream) | |
EndWrite | Ends an asynchronous write operation. (Consider using System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream) | |
Flush | Overridden. Default implementation is no-op. May be overridden by derived classes. | |
FlushAsync | Overloaded. Asynchronously clears all buffers for this stream and causes any buffered data to be written to the underlying device. (Inherited from System.IO.Stream) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
Read | Overloaded. Overridden. Reads session data provided by the SSH-2 host. | |
ReadAsync | Overloaded. Asynchronously reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. (Inherited from System.IO.Stream) | |
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 System.IO.Stream) | |
ReadToEnd | Receives data until the connection is closed. | |
Seek | Overridden. This method throws a System.NotSupportedException. | |
SetLength | Overridden. This method throws a NotSupportedException. | |
Write | Overloaded. Overridden. Writes user data to a stream that is received by the SSH-2 host. | |
WriteAsync | Overloaded. Asynchronously writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (Inherited from System.IO.Stream) | |
WriteByte | Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from System.IO.Stream) |
Name | Description | |
---|---|---|
CreateWaitHandle | Allocates a System.Threading.WaitHandle object. (Inherited from System.IO.Stream) | |
MemberwiseClone | Overloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject) | |
ObjectInvariant | Provides support for a System.Diagnostics.Contracts.Contract. (Inherited from System.IO.Stream) |