Click or drag to resize

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
)

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: Task
A task that represents the asynchronous connect operation.
See Also