I'm using the following code in my program, would I still need to call response.close()
? Or does the FtpWebResponse IDisposable
implementation close the response?
using (FtpWebResponse response = (FtpWebResponse)request.GetResponse())
{
}
So basically, would I need to do this?
using (FtpWebResponse response = (FtpWebResponse)request.GetResponse())
{
response.close();
}