瀏覽代碼

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


Loading…
取消
儲存