PowerTCP SSH and SFTP for .NET
LoginData Constructor(String,Int32,String,String)




Hostname or address in dot notation.
Port
Username for basic authentication (null if no authentication is needed)
Password for basic authentication (null if no authentication is needed)
Connection data for a server using generic username/password authentication.
Syntax
'Declaration
 
Public Function New( _
   ByVal hostNameOrAddress As String, _
   ByVal port As Integer, _
   ByVal username As String, _
   ByVal password As String _
)
'Usage
 
Dim hostNameOrAddress As String
Dim port As Integer
Dim username As String
Dim password As String
 
Dim instance As New LoginData(hostNameOrAddress, port, username, password)
public LoginData( 
   string hostNameOrAddress,
   int port,
   string username,
   string password
)
public: LoginData( 
   string* hostNameOrAddress,
   int port,
   string* username,
   string* password
)
public:
LoginData( 
   String^ hostNameOrAddress,
   int port,
   String^ username,
   String^ password
)

Parameters

hostNameOrAddress
Hostname or address in dot notation.
port
Port
username
Username for basic authentication (null if no authentication is needed)
password
Password for basic authentication (null if no authentication is needed)
See Also

Reference

LoginData Class
LoginData Members
Overload List


PowerTCP SSH and SFTP for .NET Documentation Version 8.0
© 2025 Dart Communications. All Rights Reserved.
Send comments on this topic