Ver código fonte

blind uwp fix

release/3.x.x
Anton Yaroshenko 5 anos atrás
pai
commit
ac326babdf
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs

+ 1
- 1
Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs Ver arquivo

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


Carregando…
Cancelar
Salvar