GetResponseStream Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Retrieves the stream that contains response data sent from an FTP server.
Namespace: System.Net
Assembly: System.Ftp (in System.Ftp.dll)
Syntax
'Declaration
Public Overrides Function GetResponseStream As Stream
public override Stream GetResponseStream()
public:
virtual Stream^ GetResponseStream() override
abstract GetResponseStream : unit -> Stream
override GetResponseStream : unit -> Stream
public override function GetResponseStream() : Stream
Return Value
Type: System.IO. . :: . .Stream
A readable Stream instance that contains data returned with the response; otherwise, Null if no response data was returned by the server.
Remarks
After reading the data, you must close the stream. The stream is automatically closed when you close the FtpWebResponse object that contains it.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.