This documentation is archived and is not being maintained.

HttpListenerRequest.EndGetClientCertificate Method

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

Namespace: System.Net
Assembly: System (in system.dll)

public X509Certificate2 EndGetClientCertificate (
	IAsyncResult asyncResult
public X509Certificate2 EndGetClientCertificate (
	IAsyncResult asyncResult
public function EndGetClientCertificate (
	asyncResult : IAsyncResult
) : X509Certificate2
Not applicable.



The pending request for the certificate.

Return Value

The IAsyncResult object that is returned when the operation started.

Exception typeCondition


asyncResult is a null reference (Nothing in Visual Basic).


asyncResult was not obtained by calling BeginGetClientCertificatee.


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

Windows 98, Windows Server 2003, Windows XP Media Center Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0