System.Net.Security.LocalCertificateSelectionCallback Delegate

Selects the local Secure Sockets Layer (SSL) certificate used for authentication.

Syntax

public delegate System.Security.Cryptography.X509Certificates.X509Certificate LocalCertificateSelectionCallback (object sender, string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection localCertificates, System.Security.Cryptography.X509Certificates.X509Certificate remoteCertificate, string[] acceptableIssuers)

Parameters

sender
Documentation for this section has not yet been entered.
targetHost
Documentation for this section has not yet been entered.
localCertificates
Documentation for this section has not yet been entered.
remoteCertificate
Documentation for this section has not yet been entered.
acceptableIssuers
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

This delegate is used to construct instances of the System.Net.Security.SslStream class. The System.Net.Security.SslStream class is used to help secure information exchanged between a client and server. The client and server use this delegate to select a certificate to be used for authentication.

Requirements

Namespace: System.Net.Security
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0