HttpListenerRequest.EndGetClientCertificate Method
.NET Framework 4.5
Ends an asynchronous request for the client's X.509 v.3 certificate.
Assembly: System (in System.dll)
Parameters
- asyncResult
- Type: System.IAsyncResult
The pending request for the certificate.
Return Value
Type: System.Security.Cryptography.X509Certificates.X509Certificate2The IAsyncResult object that is returned when the operation started.
| Exception | Condition |
|---|---|
| ArgumentNullException | asyncResult is null. |
| ArgumentException | asyncResult was not obtained by calling BeginGetClientCertificatee. |
| InvalidOperationException | This method was already called for the operation identified by asyncResult. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.