'Declaration Public Class SFtpSession Implements System.IDisposable
'Usage Dim instance As SFtpSession
public class SFtpSession : System.IDisposable
'Declaration Public Class SFtpSession Implements System.IDisposable
'Usage Dim instance As SFtpSession
public class SFtpSession : System.IDisposable
The SFtpSession class implements the System.IDisposable interface, meaning that every SFtpSession object that is created should also be disposed of by calling the Dispose method or, in C#, creating the SFtpConnection within a using block. If an instance of an SFtpSession object is not disposed of, connections with the SFTP server may remain active until the server times-out or the garbage-collector passes.
System.Object
Xceed.SSH.Client.SFtpSession
Xceed.SSH.Client.SFtpConnection
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2