From e8ff48bfd3836df74729d763cab4c8ed75a74160 Mon Sep 17 00:00:00 2001 From: Anton Yaroshenko Date: Sun, 17 Nov 2019 20:12:03 +0200 Subject: [PATCH] Revert "blind uwp fix" This reverts commit ac326babdf0fecdb8fa1008026b7b1d65434aa36. --- Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs b/Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs index 2b84899..cb0f71c 100644 --- a/Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs +++ b/Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs @@ -132,7 +132,7 @@ namespace MQTTnet.Implementations throw new NotSupportedException("Only one client certificate is supported for UWP."); } - return new Certificate(options.TlsOptions.Certificates.First().GetRawCertData()); + return new Certificate(options.TlsOptions.Certificates.First().AsBuffer()); } private IEnumerable ResolveIgnorableServerCertificateErrors()