Export (0) Print
Expand All

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.

Parameters

asyncResult

The pending request for the certificate.

Return Value

The IAsyncResult object that is returned when the operation started.

Exception typeCondition

ArgumentNullException

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

ArgumentException

asyncResult was not obtained by calling BeginGetClientCertificatee.

InvalidOperationException

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

Community Additions

ADD
Show:
© 2014 Microsoft