NET SFTP Library
SFTP Constructor(String,String)
Example 






KellermanSoftware.NetSFtpLibrary Namespace > SFTP Class > SFTP Constructor : SFTP Constructor(String,String)
Constructor for Licensed Version.
Syntax
'Declaration
 
Public Function New( _
   ByVal userName As System.String, _
   ByVal licenseKey As System.String _
)
'Usage
 
Dim userName As System.String
Dim licenseKey As System.String
 
Dim instance As New SFTP(userName, licenseKey)
public SFTP( 
   System.string userName,
   System.string licenseKey
)
public SFTP( 
    userName: System.String;
    licenseKey: System.String
); 
public function SFTP( 
   userName : System.String,
   licenseKey : System.String
);
public: SFTP( 
   System.string* userName,
   System.string* licenseKey
)
public:
SFTP( 
   System.String^ userName,
   System.String^ licenseKey
)

Parameters

userName
licenseKey
Example
SFTP sftp = new SFTP("place user name here", "place license key here");
Dim sftp as SFTP = New SFTP("place user name here", "place license key here")
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

SFTP Class
SFTP Members
Overload List