使用 C# 和 symantec 扫描引擎进行病毒扫描
我们有几年前编写的 ac dll,用于调用 symantec 的病毒扫描程序、载体扫描。嗯,它不能在 Windows 64 上运行,我必须安装一个新版本并运行。我在这里找到了一些代码 - http://vaibhavkulkarni.wordpress.com/2007/11/19/a-icap-client-code-in-c-to-virus-scan-a-file -using-symantec-scan-server 但由于某种原因,当我运行它时,我收到异常“已建立的连接被主机中的软件中止”。我已经禁用了防病毒软件、Windows Defender 和 Windows 防火墙。我没有任何其他我能想到的可以禁用的东西,所以我不确定是什么导致了这个问题。我在第二次调用 soc.Send(System.Text.Encoding.ASCII.GetBytes(cmd));
时收到错误 有谁知道可能导致此问题的原因吗?谢谢!
We have a c dll that was written years ago to call symantec's virus scanner, carrier scan. Well it doesn't run on windows 64 and I have to get a new version up and running. I found some code here - http://vaibhavkulkarni.wordpress.com/2007/11/19/a-icap-client-code-in-c-to-virus-scan-a-file-using-symantec-scan-server but for some reason when I run it I get the exception "An established connection was aborted by the software in your host machine". I've disabled my antivirus, windows defender and windows firewall. I don't have anything else that I can think of to disable so I'm not sure what would be causing the problem. I'm getting the error on the 2nd call to soc.Send(System.Text.Encoding.ASCII.GetBytes(cmd));
Does anyone have any idea what might be causing this? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果服务器是 Symantec Scan Engine,则它们有自己的 .net api。不要使用定制的,尝试原始的,效果很好。
If server is Symantec Scan Engine then they have their own .net api. Don't use custom, try original, it works great.