C# Class SmtpServer.Protocol.StartTlsCommand

Inheritance: SmtpCommand
Afficher le fichier Open project: cosullivan/SmtpServer Class Usage Examples

Méthodes publiques

Méthode Description
ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Execute the command.

StartTlsCommand ( X509Certificate certificate ) : System.Net.Security

Constructor.

Method Details

ExecuteAsync() public méthode

Execute the command.
public ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task
context ISmtpSessionContext The execution context to operate on.
cancellationToken System.Threading.CancellationToken The cancellation token.
Résultat Task

StartTlsCommand() public méthode

Constructor.
public StartTlsCommand ( X509Certificate certificate ) : System.Net.Security
certificate System.Security.Cryptography.X509Certificates.X509Certificate The server side certificate to authenticate with.
Résultat System.Net.Security