Initiates authentication of the TLS connection as a server.
Authentication exception thrown for null certificatesPropagate exceptions thrown from TlsStream
Namespace: LaurelBridge.DCFExamples.TLS
Assemblies: EchoSCU (in EchoSCU.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
VerificationSCPExtended (in VerificationSCPExtended.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
Syntax
C#
public void ConnectAsServer( X509Certificate2 certificate, bool allowMissingCertificates = true )
Parameters
- certificate
- Type: System.Security.Cryptography.X509CertificatesX509Certificate2
The TLS server certificate - allowMissingCertificates (Optional)
- Type: SystemBoolean
Allow missing certificates from clients
See Also