PowerTCP FTP for .NET
BaseStream Class Members
Properties  Methods 


The following tables list the members exposed by BaseStream.

Public Properties
 NameDescription
Public PropertyCanReadOverridden.  Gets a value indicating whether the current Stream supports reading.  
Public PropertyCanSeekOverridden.  Gets a value indicating whether the current Stream supports seeking.  
Public PropertyCanTimeoutGets a value that determines whether the current stream can time out. (Inherited from System.IO.Stream)
Public PropertyCanWriteOverridden.  Gets a value indicating whether the current Stream supports writing.  
Public PropertyLengthOverridden.  Gets the length in bytes of the stream.  
Public PropertyPositionOverridden.  Gets or sets the current position of this stream.  
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.  Calls InnerStream.Close.  
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 MethodSeekOverridden.  Sets the position within the current Stream to the specified value. Always throws a NotSupportedException.  
Public MethodSetLengthOverridden.  Sets the length of the current Stream to the specified value. Always throws a NotSupportedException.  
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

BaseStream Class
Dart.Ftp Namespace


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