NuGet update

This commit is contained in:
Jaex 2022-12-03 06:46:47 +03:00
parent 2de97eea49
commit 309b77a650
6 changed files with 15 additions and 15 deletions

View file

@ -1572,7 +1572,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Newtonsoft.Json"> <PackageReference Include="Newtonsoft.Json">
<Version>13.0.1</Version> <Version>13.0.2</Version>
</PackageReference> </PackageReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View file

@ -305,7 +305,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Newtonsoft.Json"> <PackageReference Include="Newtonsoft.Json">
<Version>13.0.1</Version> <Version>13.0.2</Version>
</PackageReference> </PackageReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View file

@ -165,7 +165,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Newtonsoft.Json"> <PackageReference Include="Newtonsoft.Json">
<Version>13.0.1</Version> <Version>13.0.2</Version>
</PackageReference> </PackageReference>
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

View file

@ -122,11 +122,11 @@ public FTP(FTPAccount account)
if (account.IsActive) if (account.IsActive)
{ {
client.DataConnectionType = FtpDataConnectionType.AutoActive; client.Config.DataConnectionType = FtpDataConnectionType.AutoActive;
} }
else else
{ {
client.DataConnectionType = FtpDataConnectionType.AutoPassive; client.Config.DataConnectionType = FtpDataConnectionType.AutoPassive;
} }
if (account.Protocol == FTPProtocol.FTPS) if (account.Protocol == FTPProtocol.FTPS)
@ -135,20 +135,20 @@ public FTP(FTPAccount account)
{ {
default: default:
case FTPSEncryption.Explicit: case FTPSEncryption.Explicit:
client.EncryptionMode = FtpEncryptionMode.Explicit; client.Config.EncryptionMode = FtpEncryptionMode.Explicit;
break; break;
case FTPSEncryption.Implicit: case FTPSEncryption.Implicit:
client.EncryptionMode = FtpEncryptionMode.Implicit; client.Config.EncryptionMode = FtpEncryptionMode.Implicit;
break; break;
} }
client.SslProtocols = SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12; client.Config.SslProtocols = SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12;
client.DataConnectionEncryption = true; client.Config.DataConnectionEncryption = true;
if (!string.IsNullOrEmpty(account.FTPSCertificateLocation) && File.Exists(account.FTPSCertificateLocation)) if (!string.IsNullOrEmpty(account.FTPSCertificateLocation) && File.Exists(account.FTPSCertificateLocation))
{ {
X509Certificate cert = X509Certificate2.CreateFromSignedFile(Account.FTPSCertificateLocation); X509Certificate cert = X509Certificate2.CreateFromSignedFile(Account.FTPSCertificateLocation);
client.ClientCertificates.Add(cert); client.Config.ClientCertificates.Add(cert);
} }
else else
{ {

View file

@ -1155,13 +1155,13 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="FluentFTP"> <PackageReference Include="FluentFTP">
<Version>39.4.0</Version> <Version>42.1.0</Version>
</PackageReference> </PackageReference>
<PackageReference Include="MegaApiClient"> <PackageReference Include="MegaApiClient">
<Version>1.10.2</Version> <Version>1.10.3</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Newtonsoft.Json"> <PackageReference Include="Newtonsoft.Json">
<Version>13.0.1</Version> <Version>13.0.2</Version>
</PackageReference> </PackageReference>
<PackageReference Include="SSH.NET"> <PackageReference Include="SSH.NET">
<Version>2020.0.2</Version> <Version>2020.0.2</Version>

View file

@ -2055,10 +2055,10 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.Windows.SDK.Contracts"> <PackageReference Include="Microsoft.Windows.SDK.Contracts">
<Version>10.0.18362.2005</Version> <Version>10.0.22621.755</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Newtonsoft.Json"> <PackageReference Include="Newtonsoft.Json">
<Version>13.0.1</Version> <Version>13.0.2</Version>
</PackageReference> </PackageReference>
<PackageReference Include="ZXing.Net"> <PackageReference Include="ZXing.Net">
<Version>0.16.8</Version> <Version>0.16.8</Version>