在C#中是否有办法监控某些进程dns请求? [英] Is there a way in C# to monitor a certain process dns requests?
本文介绍了在C#中是否有办法监控某些进程dns请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
C#中是否有办法监控某些进程的DNS请求?我想监控进程并查看它想要连接的域或IP。
有可能吗?我知道像apateDNS这样的应用程序做同样的事情,我希望这可以在C#中工作。使用哪个名称空间和方法!?
和另一个问题:C#中是否有办法监控某些进程API请求?
事先感谢亲爱的朋友
Is there a way in C# to monitor a certain process DNS requests? I would like to monitor process and see which domain or IP it wants to connect to.
Is it possible? I know application like apateDNS do same thing, and I would want this to work in C#. with which name space and method!?
and another question:Is there a way in C# to monitor a certain process API requests?
thanks dear friend beforehand
推荐答案
要监控TCP流量,您需要安装一个低级驱动程序,你不能在高级语言/平台上这样做,比如c#。
To monitor TCP traffic you need a low level driver to be installed, you can't do this in a high level language/platform like c#.
这篇关于在C#中是否有办法监控某些进程dns请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文