Xceed .NET Libraries Documentation
Xceed.SSH.Client Assembly / Xceed.SSH.Client Namespace / SFtpSession Class / SFtpSession Constructor / SFtpSession Constructor(SFtpClient,SSHClient,Int32,Boolean)


In This Topic
    SFtpSession Constructor(SFtpClient,SSHClient,Int32,Boolean)
    In This Topic
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal sftpClient As SFtpClient, _
       ByVal sshClient As SSHClient, _
       ByVal sftpVersion As Integer, _
       ByVal connect As Boolean _
    )
    'Usage
     
    Dim sftpClient As SFtpClient
    Dim sshClient As SSHClient
    Dim sftpVersion As Integer
    Dim connect As Boolean
     
    Dim instance As New SFtpSession(sftpClient, sshClient, sftpVersion, connect)
    public SFtpSession( 
       SFtpClient sftpClient,
       SSHClient sshClient,
       int sftpVersion,
       bool connect
    )

    Parameters

    sftpClient
    sshClient
    sftpVersion
    connect
    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