|
@@ -90,11 +90,13 @@ namespace MQTTnet.Server |
|
|
return this; |
|
|
return this; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#if !WINDOWS_UWP |
|
|
public MqttServerOptionsBuilder WithEncryptionCertificate(X509Certificate2 certificate) |
|
|
public MqttServerOptionsBuilder WithEncryptionCertificate(X509Certificate2 certificate) |
|
|
{ |
|
|
{ |
|
|
_options.TlsEndpointOptions.X509Certificate = certificate; |
|
|
_options.TlsEndpointOptions.X509Certificate = certificate; |
|
|
return this; |
|
|
return this; |
|
|
} |
|
|
} |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
public MqttServerOptionsBuilder WithEncryptionSslProtocol(SslProtocols value) |
|
|
public MqttServerOptionsBuilder WithEncryptionSslProtocol(SslProtocols value) |
|
|
{ |
|
|
{ |
|
|