mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-30 12:11:07 +12:00
NuGet update
This commit is contained in:
parent
2de97eea49
commit
309b77a650
|
@ -1572,7 +1572,7 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json">
|
||||
<Version>13.0.1</Version>
|
||||
<Version>13.0.2</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -305,7 +305,7 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json">
|
||||
<Version>13.0.1</Version>
|
||||
<Version>13.0.2</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -165,7 +165,7 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json">
|
||||
<Version>13.0.1</Version>
|
||||
<Version>13.0.2</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
|
|
@ -122,11 +122,11 @@ public FTP(FTPAccount account)
|
|||
|
||||
if (account.IsActive)
|
||||
{
|
||||
client.DataConnectionType = FtpDataConnectionType.AutoActive;
|
||||
client.Config.DataConnectionType = FtpDataConnectionType.AutoActive;
|
||||
}
|
||||
else
|
||||
{
|
||||
client.DataConnectionType = FtpDataConnectionType.AutoPassive;
|
||||
client.Config.DataConnectionType = FtpDataConnectionType.AutoPassive;
|
||||
}
|
||||
|
||||
if (account.Protocol == FTPProtocol.FTPS)
|
||||
|
@ -135,20 +135,20 @@ public FTP(FTPAccount account)
|
|||
{
|
||||
default:
|
||||
case FTPSEncryption.Explicit:
|
||||
client.EncryptionMode = FtpEncryptionMode.Explicit;
|
||||
client.Config.EncryptionMode = FtpEncryptionMode.Explicit;
|
||||
break;
|
||||
case FTPSEncryption.Implicit:
|
||||
client.EncryptionMode = FtpEncryptionMode.Implicit;
|
||||
client.Config.EncryptionMode = FtpEncryptionMode.Implicit;
|
||||
break;
|
||||
}
|
||||
|
||||
client.SslProtocols = SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12;
|
||||
client.DataConnectionEncryption = true;
|
||||
client.Config.SslProtocols = SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12;
|
||||
client.Config.DataConnectionEncryption = true;
|
||||
|
||||
if (!string.IsNullOrEmpty(account.FTPSCertificateLocation) && File.Exists(account.FTPSCertificateLocation))
|
||||
{
|
||||
X509Certificate cert = X509Certificate2.CreateFromSignedFile(Account.FTPSCertificateLocation);
|
||||
client.ClientCertificates.Add(cert);
|
||||
client.Config.ClientCertificates.Add(cert);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -1155,13 +1155,13 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="FluentFTP">
|
||||
<Version>39.4.0</Version>
|
||||
<Version>42.1.0</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="MegaApiClient">
|
||||
<Version>1.10.2</Version>
|
||||
<Version>1.10.3</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Newtonsoft.Json">
|
||||
<Version>13.0.1</Version>
|
||||
<Version>13.0.2</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="SSH.NET">
|
||||
<Version>2020.0.2</Version>
|
||||
|
|
|
@ -2055,10 +2055,10 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Windows.SDK.Contracts">
|
||||
<Version>10.0.18362.2005</Version>
|
||||
<Version>10.0.22621.755</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Newtonsoft.Json">
|
||||
<Version>13.0.1</Version>
|
||||
<Version>13.0.2</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="ZXing.Net">
|
||||
<Version>0.16.8</Version>
|
||||
|
|
Loading…
Reference in a new issue