C-DEngine 5.105

ServerSslConfiguration Constructor (X509Certificate2)

Initializes a new instance of the ServerSslConfiguration class with the specified serverCertificate.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public ServerSslConfiguration(
	X509Certificate2 serverCertificate
)
Public Sub New ( _
	serverCertificate As X509Certificate2 _
)
public:
ServerSslConfiguration(
	X509Certificate2^ serverCertificate
)

Parameters

serverCertificate
Type: X509Certificate2
A [X509Certificate2] that represents the certificate used to authenticate the server.