PowerTCP SSH and SFTP for .NET
ZStream Class Methods


For a list of all members of this type, see ZStream members.

Public Methods
 NameDescription
Public MethodBeginReadBegins an asynchronous read operation. (Consider using System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream)
Public MethodBeginWriteBegins an asynchronous write operation. (Consider using System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream)
Public MethodCloseOverridden.  Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.  
Public MethodCopyToOverloaded. Reads the bytes from the current stream and writes them to another stream. (Inherited from System.IO.Stream)
Public MethodCopyToAsyncOverloaded. Asynchronously reads the bytes from the current stream and writes them to another stream. (Inherited from System.IO.Stream)
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded. Releases all resources used by the System.IO.Stream. (Inherited from System.IO.Stream)
Public MethodEndReadWaits 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)
Public MethodEndWriteEnds an asynchronous write operation. (Consider using System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream)
Public MethodFlushOverridden.  Updates the underlying repository with the current state of the buffer and then clears the buffer.  
Public MethodFlushAsyncOverloaded. Asynchronously clears all buffers for this stream and causes any buffered data to be written to the underlying device. (Inherited from System.IO.Stream)
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodReadWhen overridden in a derived class, 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)
Public MethodReadAsyncOverloaded. 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)
Public MethodReadByteReads 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)
Public MethodSeek Sets the position within the current Stream to the specified value. Always throws a NotSupportedException. (Inherited from Dart.Ssh.BaseStream)
Public MethodSetLength Sets the length of the current Stream to the specified value. Always throws a NotSupportedException. (Inherited from Dart.Ssh.BaseStream)
Public MethodWriteWhen overridden in a derived class, 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)
Public MethodWriteAsyncOverloaded. 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)
Public MethodWriteByteWrites a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from System.IO.Stream)
Top
Protected Methods
 NameDescription
Protected MethodCreateWaitHandleAllocates a System.Threading.WaitHandle object. (Inherited from System.IO.Stream)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodObjectInvariantProvides support for a System.Diagnostics.Contracts.Contract. (Inherited from System.IO.Stream)
Top
See Also

Reference

ZStream Class
Dart.Ssh Namespace


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic