浏览代码

Revert "blind uwp fix"

This reverts commit ac326babdf.
release/3.x.x
Anton Yaroshenko 5 年前
committed by Christian Kratky
父节点
当前提交
e8ff48bfd3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs

+ 1
- 1
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<ChainValidationResult> ResolveIgnorableServerCertificateErrors()


正在加载...
取消
保存