Sdílet prostřednictvím


ConnectionInfo.GetClientCertificateAsync(CancellationToken) Metoda

Definice

Načte klientský certifikát.

public abstract System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2> GetClientCertificateAsync (System.Threading.CancellationToken cancellationToken = default);
public abstract System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2?> GetClientCertificateAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetClientCertificateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2>
Public MustOverride Function GetClientCertificateAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of X509Certificate2)

Parametry

cancellationToken
CancellationToken

Návraty

Asynchronně vrátí .X509Certificate2 Může mít hodnotu null.

Platí pro