| ClientBaseConnectAsync Method (String, Int32, Boolean) |
Establishes connection to a remote server.
Namespace:
Limilabs.Client
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task ConnectAsync(
string host,
int port,
bool useSSL
)
Public Function ConnectAsync (
host As String,
port As Integer,
useSSL As Boolean
) As Task
public:
Task^ ConnectAsync(
String^ host,
int port,
bool useSSL
)
member ConnectAsync :
host : string *
port : int *
useSSL : bool -> Task
Parameters
- host
- Type: SystemString
The name or IP address of the remote server. - port
- Type: SystemInt32
The port number of the remote server. - useSSL
- Type: SystemBoolean
Creates SSL/TLS connection when set to true.
Return Value
Type:
TaskA task that represents the asynchronous connect operation.
See Also