PowerTCP FTP for .NET
ZStream Class Members
Properties  Methods 


The following tables list the members exposed by ZStream.

Public Properties
 NameDescription
Public PropertyCanRead Gets a value indicating whether the current Stream supports reading. (Inherited from Dart.Ftp.BaseStream)
Public PropertyCanSeek Gets a value indicating whether the current Stream supports seeking. (Inherited from Dart.Ftp.BaseStream)
Public PropertyCanTimeoutGets a value that determines whether the current stream can time out. (Inherited from System.IO.Stream)
Public PropertyCanWrite Gets a value indicating whether the current Stream supports writing. (Inherited from Dart.Ftp.BaseStream)
Public PropertyLength Gets the length in bytes of the stream. (Inherited from Dart.Ftp.BaseStream)
Public PropertyPosition Gets or sets the current position of this stream. (Inherited from Dart.Ftp.BaseStream)
Public PropertyReadTimeoutGets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from System.IO.Stream)
Public PropertyWriteTimeoutGets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from System.IO.Stream)
Top
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.Ftp.BaseStream)
Public MethodSetLength Sets the length of the current Stream to the specified value. Always throws a NotSupportedException. (Inherited from Dart.Ftp.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.Ftp Namespace


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic