1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

Updated server maint to use older nClam.

This commit is contained in:
Uncled1023 2017-01-18 00:17:34 -08:00
parent 56b0063dce
commit de4b874f62
3 changed files with 4 additions and 5 deletions

View File

@ -15,7 +15,6 @@ using Teknik.Areas.Users.Utility;
using Teknik.Configuration; using Teknik.Configuration;
using Teknik.Utilities; using Teknik.Utilities;
using Teknik.Models; using Teknik.Models;
using Teknik.Utilities;
namespace ServerMaint namespace ServerMaint
{ {
@ -150,7 +149,7 @@ namespace ServerMaint
} }
// We have the data, let's scan it // We have the data, let's scan it
ClamScanResult scanResult = clam.SendAndScanFileAsync(data).Result; ClamScanResult scanResult = clam.SendAndScanFile(data);
switch (scanResult.Result) switch (scanResult.Result)
{ {

View File

@ -76,8 +76,8 @@
<HintPath>..\packages\Microsoft.AspNet.Identity.EntityFramework.2.2.1\lib\net45\Microsoft.AspNet.Identity.EntityFramework.dll</HintPath> <HintPath>..\packages\Microsoft.AspNet.Identity.EntityFramework.2.2.1\lib\net45\Microsoft.AspNet.Identity.EntityFramework.dll</HintPath>
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="nClam, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="nClam, Version=2.0.6.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\nClam.3.0.0\lib\net45\nClam.dll</HintPath> <HintPath>..\packages\nClam.2.0.6.0\lib\net40-Client\nClam.dll</HintPath>
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">

View File

@ -7,6 +7,6 @@
<package id="Inferno" version="1.4.0" targetFramework="net452" /> <package id="Inferno" version="1.4.0" targetFramework="net452" />
<package id="Microsoft.AspNet.Identity.Core" version="2.2.1" targetFramework="net452" /> <package id="Microsoft.AspNet.Identity.Core" version="2.2.1" targetFramework="net452" />
<package id="Microsoft.AspNet.Identity.EntityFramework" version="2.2.1" targetFramework="net452" /> <package id="Microsoft.AspNet.Identity.EntityFramework" version="2.2.1" targetFramework="net452" />
<package id="nClam" version="3.0.0" targetFramework="net462" /> <package id="nClam" version="2.0.6.0" targetFramework="net462" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" /> <package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
</packages> </packages>