[英]Anti virus integration with .net application
I would like to use anti virus integration with my .net application when uploading files using the application.在使用该应用程序上传文件时,我想将防病毒集成与我的 .net 应用程序结合使用。 Has any anti virus API available for .Net?
是否有任何可用于 .Net 的防病毒 API?
I don't want to resurrect an old question, but I was in need of a solution that the question was asking about.我不想复活一个老问题,但我需要一个问题所要求的解决方案。 I evaluated a lot of things and came to the conclusion that there was really not one good .NET library for this.
我评估了很多东西,得出的结论是,真的没有一个好的 .NET 库可以做到这一点。 So I made my own.
所以我自己做了。
The library is called nClam, and it connects to a ClamAV server.该库称为 nClam,它连接到 ClamAV 服务器。 It is open-source (Apache License 2.0) library which has a very simple API.
它是开源(Apache License 2.0)库,具有非常简单的 API。 You can obtain it here: https://github.com/tekmaven/nClam .
您可以在此处获取: https : //github.com/tekmaven/nClam 。 There is also a nuget package: nClam.
还有一个nuget包:nClam。
I hope someone who stumbles on this question in the future benefits from my library!我希望将来偶然发现这个问题的人能从我的图书馆中受益!
Symantec offers Scan Engine as a way to integrate anti-virus into your .Net application.赛门铁克提供扫描引擎作为将防病毒集成到您的 .Net 应用程序的一种方式。 If this is for non-commercial (in house) software, and your company already uses Symantec, then this might be a good option for you as well.
如果这是针对非商业(内部)软件,并且您的公司已经在使用赛门铁克,那么这对您来说也可能是一个不错的选择。 I can't speak for ClamAV or nClam as I have never personally used them.
我不能代表 ClamAV 或 nClam,因为我从未亲自使用过它们。
Why not install the antivirus software on the receiving server?为什么不在接收服务器上安装杀毒软件? That way you could keep the definitions updated, which may not happen on the uploading client app.
这样您就可以保持更新定义,这可能不会发生在上传客户端应用程序上。
I use ClamWin on my Desktop, and it's built on the open-source Clam AntiVirus libraries: http://www.clamav.net/download/third-party-tools/3rdparty-library/我在桌面上使用 ClamWin,它建立在开源 Clam AntiVirus 库上: http : //www.clamav.net/download/third-party-tools/3rdparty-library/
It looks like they have a couple of differing bindings for .NET:看起来他们有几个不同的 .NET 绑定:
我向您推荐一个叫做防病毒扫描程序的 nuget,这样您就可以轻松完成https://www.nuget.org/packages/AntiVirusScanner/这个 nuget 基本上调用了 Microsoft Windows Defender api。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.