C# 클래스 SmtpServer.Protocol.StartTlsCommand

상속: SmtpCommand
파일 보기 프로젝트 열기: cosullivan/SmtpServer 1 사용 예제들

공개 메소드들

메소드 설명
ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Execute the command.

StartTlsCommand ( X509Certificate certificate ) : System.Net.Security

Constructor.

메소드 상세

ExecuteAsync() 공개 메소드

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.
리턴 Task

StartTlsCommand() 공개 메소드

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