Parcourir la source

Revert "blind uwp fix"

This reverts commit ac326babdf.
release/3.x.x
Anton Yaroshenko il y a 5 ans
committed by Christian Kratky
Parent
révision
e8ff48bfd3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs

+ 1
- 1
Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs Voir le fichier

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


Chargement…
Annuler
Enregistrer