Browse Source

Fixed issues from code review

release/3.x.x
Krause, Henning 4 years ago
parent
commit
beb228cc05
2 changed files with 3 additions and 4 deletions
  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 View File

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


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


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

@@ -27,9 +27,9 @@ namespace MQTTnet.Client.Options
public IEnumerable<X509Certificate> Certificates { get; set; } public IEnumerable<X509Certificate> Certificates { get; set; }
#endif #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; } public bool AllowUntrustedCertificates { get; set; }




Loading…
Cancel
Save