SSLOptions Constructor (X509Certificate, Boolean)NetworkComms.Net Help
Initialise a new instance of SSLOptions which enables SSL. If this SSLOptions is used server side any client requires either a copy of the provided certificate or the certificate name to successfully connect.

Namespace: NetworkCommsDotNet.Connections.TCP
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public SSLOptions(
	X509Certificate certificate,
	bool allowSelfSignedCertificates
)

Parameters

certificate
Type: OnlineSystem.Security.Cryptography.X509Certificates X509Certificate
The certificate
allowSelfSignedCertificates
Type: OnlineSystem Boolean
If true self signed certificates may be used successfully. CAUTION: Allowing self signed certificates makes it significantly easier for a remote peer to impersonate someone.
See Also