Mentalis.org Security Library documentation

CertificateChain.EndVerifyChain Method 

Ends a pending asynchronous certificate verification request.

[Visual Basic]
Overridable Public Function EndVerifyChain( _
   ByVal ar As IAsyncResult _
) As CertificateStatus
[C#]
public virtual CertificateStatus EndVerifyChain(
   IAsyncResult ar
);

Parameters

ar
Stores state information for this asynchronous operation as well as any user-defined data.

Return Value

One of the CertificateStatus values.

Exceptions

Exception TypeCondition
ArgumentNullExceptionar is a null reference (Nothing in Visual Basic).
ArgumentExceptionThe ar parameter was not returned by a call to the BeginVerifyChain method.
InvalidOperationExceptionEndVerifyChain was previously called for the asynchronous chain verification.
CertificateExceptionAn error occurs while verifying the certificate chain.

See Also

CertificateChain Class | CertificateChain Members | Org.Mentalis.Security.Certificates Namespace