ConnectedEventArgs Constructor

Initializes a new instance of the ConnectedEventArgs class.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public ConnectedEventArgs(
	string host,
	int port,
	SecureSocketOptions options
)

Parameters

host  String
The name of the host that the client connected to.
port  Int32
The port that the client connected to on the remote host.
options  SecureSocketOptions
The SSL/TLS options that were used when connecting to the remote host.

Remarks

Creates a new ConnectedEventArgs.

See Also