Share via


Close Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Frees the resources held by the response.

Namespace:  System.Net
Assembly:  System.Ftp (in System.Ftp.dll)

Syntax

'Declaration
Public Overrides Sub Close
public override void Close()
public:
virtual void Close() override
abstract Close : unit -> unit 
override Close : unit -> unit 
public override function Close()

Remarks

The Close method closes the data stream returned by the GetResponseStream method if the KeepAlive property is false. During the close, data might be sent to the server on the control connection.

.NET Framework Security

See Also

Reference

FtpWebResponse Class

System.Net Namespace