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: (

public SSLOptions(
	X509Certificate certificate,
	bool allowSelfSignedCertificates


Type: OnlineSystem.Security.Cryptography.X509Certificates X509Certificate
The certificate
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