added UWP compiler flags

This commit is contained in:
Anton Yaroshenko
2019-11-18 11:16:34 +02:00
parent ac326babdf
commit 9fb1cc3320
6 changed files with 24 additions and 2 deletions
@@ -18,7 +18,12 @@ namespace MQTTnet.Client.Options
public SslProtocols SslProtocol { get; set; } = SslProtocols.Tls12;
#if WINDOWS_UWP
public IEnumerable<IEnumerable<byte>> Certificates { get; set; }
#else
public IEnumerable<X509Certificate> Certificates { get; set; }
#endif
public bool AllowUntrustedCertificates { get; set; }