Edit

Share via


HttpListenerRequest.EndGetClientCertificate(IAsyncResult) Method

Definition

Ends an asynchronous request for the client's X.509 v.3 certificate.

public:
 System::Security::Cryptography::X509Certificates::X509Certificate2 ^ EndGetClientCertificate(IAsyncResult ^ asyncResult);
public System.Security.Cryptography.X509Certificates.X509Certificate2? EndGetClientCertificate (IAsyncResult asyncResult);
public System.Security.Cryptography.X509Certificates.X509Certificate2 EndGetClientCertificate (IAsyncResult asyncResult);
member this.EndGetClientCertificate : IAsyncResult -> System.Security.Cryptography.X509Certificates.X509Certificate2
Public Function EndGetClientCertificate (asyncResult As IAsyncResult) As X509Certificate2

Parameters

asyncResult
IAsyncResult

The pending request for the certificate.

Returns

The IAsyncResult object that is returned when the operation started.

Exceptions

asyncResult is null.

asyncResult was not obtained by calling BeginGetClientCertificate(AsyncCallback, Object)e.

This method was already called for the operation identified by asyncResult.

Applies to