Xceed .NET Libraries Documentation
SFtpSession Class
Members 


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace : SFtpSession Class
Class that represents the session between a client and an SFTP server.
Syntax
'Declaration
 
Public Class SFtpSession 
   Implements System.IDisposable 
'Usage
 
Dim instance As SFtpSession
public class SFtpSession : System.IDisposable  
Remarks

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.

Inheritance Hierarchy

System.Object
   Xceed.SSH.Client.SFtpSession
      Xceed.SSH.Client.SFtpConnection

Requirements

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

See Also

Reference

SFtpSession Members
Xceed.SSH.Client Namespace