像KIS一样的C#Internet安全性 [英] C# Internet security like KIS

查看:84
本文介绍了像KIS一样的C#Internet安全性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从计算机获取请求并返回其他数据(如防病毒互联网安全性)?这个怎么运作?是否有可能在c#中做?

How I can get what requests are sent from computer and return another data (something like an antivirus internet security)? How it works? Is it possible to do in c#?

推荐答案

正如谢尔盖所​​说,这是一个复杂的问题。简短的回答是,你不能像在AV中那样在.NET中进行AV活动。在为一家大型AV公司工作之后,很多这些公司都与各种操作系统供应商建立了深厚的合作关系,以便公开和启用特殊功能。此功能在C#中不可用。您将永远无法像ISV(集成安全供应商)在C#中那样与操作系统交互。你必须将较低级别降低到C ++。



至于网络通信,简短的答案取决于它。如果您正在寻找OSI网络模型的5-7(含)级别,那么也许http听取就足够了。但是如果你想要更深入那么,你应该看看SharpPCap。它具有一些.net功能,用于了解数据包何时到达并能够分析数据包。
As Sergey said, this is a bit of a complex question. The short answer is no you cannot do AV activities in .NET like you can do with AV. Having working for a major AV company a lot of this companies have deep partnerships with various OS vendors to get special functionality exposed and enabled. This functionality is just not available in C#. You'll never be able to interact with the OS the way a ISV (Integrated Security Vendor) does in C#. You'll have to move lower level down into C++.

As for network communication the short answer is it depends. If you're looking for for levels 5 - 7 (incl) of the OSI networking model then perhaps an http listening might suffice. However if you want to go deeper then that that, you should look at SharpPCap. Which has some .net functionality for knowing when packets arrive and being able to analyze the packets.


这篇关于像KIS一样的C#Internet安全性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆