Partager via


ITlsConnectionFeature.GetRemoteCertificateAsync(CancellationToken) Méthode

Définition

Récupère de manière asynchrone le certificat du point de terminaison distant, le cas échéant.

public System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2> GetRemoteCertificateAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetRemoteCertificateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2>
Public Function GetRemoteCertificateAsync (cancellationToken As CancellationToken) As Task(Of X509Certificate2)

Paramètres

cancellationToken
CancellationToken

Retours

S’applique à