FtpResponseStream Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides a stream to read from or write to sockets.
Inheritance Hierarchy
System. . :: . .Object
System. . :: . .MarshalByRefObject
System.IO. . :: . .Stream
Microsoft.SPOT.Net..::..FtpResponseStream
Namespace: Microsoft.SPOT.Net
Assembly: System.Ftp (in System.Ftp.dll)
Syntax
'Declaration
Public Class FtpResponseStream _
Inherits Stream
public class FtpResponseStream : Stream
public ref class FtpResponseStream : public Stream
type FtpResponseStream =
class
inherit Stream
end
public class FtpResponseStream extends Stream
The FtpResponseStream type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FtpResponseStream(FtpListenerResponse) | Initializes a new instance of the FtpResponseStream class with the specified response. | |
FtpResponseStream(FtpListenerResponse, Stream) | Initializes a new instance of the FtpResponseStream class with the specified response and stream. |
Top
Properties
Name | Description | |
---|---|---|
CanRead | Gets a value that indicates whether the stream supports reading. (Overrides Stream. . :: . .CanRead.) | |
CanSeek | Gets a value that indicates whether the stream supports seeking. (Overrides Stream. . :: . .CanSeek.) | |
CanTimeout | Gets a value that determines whether the current stream can time out. (Inherited from Stream.) | |
CanWrite | Gets a value that indicates whether the stream supports writing. (Overrides Stream. . :: . .CanWrite.) | |
Length | Gets the length of the stream. (Overrides Stream. . :: . .Length.) | |
Position | Gets or sets the position. (Overrides Stream. . :: . .Position.) | |
ReadTimeout | Gets or sets a value, in milliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from Stream.) | |
WriteTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from Stream.) |
Top
Methods
Name | Description | |
---|---|---|
Close | Closes the response stream. (Overrides Stream. . :: . .Close() () () ().) | |
Dispose() () () () | Releases all resources used by the Stream. (Inherited from Stream.) | |
Dispose(Boolean) | Releases the unmanaged resources used by the Stream and optionally releases the managed resources. (Inherited from Stream.) | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Cleans up resources. (Inherited from Stream.) | |
Flush | Flushes the response stream. (Overrides Stream. . :: . .Flush() () () ().) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Read(String%) | Reads from the internal buffer. | |
Read(array<Byte> [] () [] [], Int32, Int32) | Reads from the internal buffer. (Overrides Stream. . :: . .Read(array<Byte> [] () [] [], Int32, Int32).) | |
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.) | |
ReadTo | Read data from the socket and writes the data to the specified file stream. | |
Seek | Seeks a position in the stream. (Overrides Stream. . :: . .Seek(Int64, SeekOrigin).) | |
SetLength | Set the length. (Overrides Stream. . :: . .SetLength(Int64).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write(FileStream) | Reads data from the stream and writes to the socket. | |
Write(FileSystemInfo) | Write a FileInfo or DirectoryInfo to the socket | |
Write(String) | Writes a string to the buffer. | |
Write(array<Byte> [] () [] [], Int32, Int32) | Writes to the buffer. (Overrides Stream. . :: . .Write(array<Byte> [] () [] [], Int32, Int32).) | |
WriteByte | Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from Stream.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.