ImapClient Constructor (String, Int32, String, String, RemoteCertificateValidationCallback) |
Initializes a new instance of the
ImapClient class
Namespace:
Aspose.Email.Clients.Imap
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntaxpublic ImapClient(
string host,
int port,
string username,
string password,
RemoteCertificateValidationCallback userCertificateValidationCallback
)
Public Sub New (
host As String,
port As Integer,
username As String,
password As String,
userCertificateValidationCallback As RemoteCertificateValidationCallback
)
public:
ImapClient(
String^ host,
int port,
String^ username,
String^ password,
RemoteCertificateValidationCallback^ userCertificateValidationCallback
)
new :
host : string *
port : int *
username : string *
password : string *
userCertificateValidationCallback : RemoteCertificateValidationCallback -> ImapClient
Parameters
- host
- Type: SystemString
The host name - port
- Type: SystemInt32
The portnumber - username
- Type: SystemString
The user name - password
- Type: SystemString
The password - userCertificateValidationCallback
- Type: System.Net.SecurityRemoteCertificateValidationCallback
System.Net.Security.RemoteCertificateValidationCallback
See Also