Sfoglia il codice sorgente

Fixed issues from code review

release/3.x.x
Krause, Henning 4 anni fa
parent
commit
beb228cc05
2 ha cambiato i file con 3 aggiunte e 4 eliminazioni
  1. +0
    -1
      Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj
  2. +3
    -3
      Source/MQTTnet/Client/Options/MqttClientOptionsBuilderTlsParameters.cs

+ 0
- 1
Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj Vedi File

@@ -23,7 +23,6 @@

<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="System.IO.Pipelines" Version="4.7.2" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.1'">


+ 3
- 3
Source/MQTTnet/Client/Options/MqttClientOptionsBuilderTlsParameters.cs Vedi File

@@ -27,9 +27,9 @@ namespace MQTTnet.Client.Options
public IEnumerable<X509Certificate> Certificates { get; set; }
#endif

#if NETCOREAPP3_1
public List<SslApplicationProtocol> ApplicationProtocols {get;set;}
#endif
#if NETCOREAPP3_1
public List<SslApplicationProtocol> ApplicationProtocols { get;set; }
#endif

public bool AllowUntrustedCertificates { get; set; }



Caricamento…
Annulla
Salva