HttpListenerRequest.EndGetClientCertificate(IAsyncResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.