Sfoglia il codice sorgente

blind uwp fix

release/3.x.x
Anton Yaroshenko 5 anni fa
parent
commit
ac326babdf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs

+ 1
- 1
Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs Vedi File

@@ -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().AsBuffer());
return new Certificate(options.TlsOptions.Certificates.First().GetRawCertData());
}

private IEnumerable<ChainValidationResult> ResolveIgnorableServerCertificateErrors()


Caricamento…
Annulla
Salva