Browse Source

Updated server maint to use older nClam.

tags/2.0.6
Teknikode 2 years ago
parent
commit
de4b874f62
3 changed files with 4 additions and 5 deletions
  1. 1
    2
      ServerMaint/Program.cs
  2. 2
    2
      ServerMaint/ServerMaint.csproj
  3. 1
    1
      ServerMaint/packages.config

+ 1
- 2
ServerMaint/Program.cs View File

@@ -15,7 +15,6 @@ using Teknik.Areas.Users.Utility;
using Teknik.Configuration;
using Teknik.Utilities;
using Teknik.Models;
using Teknik.Utilities;

namespace ServerMaint
{
@@ -150,7 +149,7 @@ namespace ServerMaint
}

// We have the data, let's scan it
ClamScanResult scanResult = clam.SendAndScanFileAsync(data).Result;
ClamScanResult scanResult = clam.SendAndScanFile(data);

switch (scanResult.Result)
{

+ 2
- 2
ServerMaint/ServerMaint.csproj View File

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

+ 1
- 1
ServerMaint/packages.config View File

@@ -7,6 +7,6 @@
<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.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" />
</packages>

Loading…
Cancel
Save