问题描述
是否可以使用WFP和C#过滤http请求?
Is it possible to filter http requests using WFP and C#?
我想在后台运行并阻止所有带有特定字符串的URL。
I'd like something that runs in the background and blocks all URLs with a specific string in it.
一种方法是为WFP的用户模式API编写托管C ++包装吗?如果是这样的话,这会让我有多接近上述理想?这样做难吗?这是采用此代码的方法吗?
Would one approach be to write managed C++ wrappers for the user mode APIs of WFP? If so, how close to the above ideal would this get me? Would it be difficult to do this? Is that the approach taken in this code?
http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/a65bf197-937b-401e-b15f-0e1c3decdb14/ windows-filtering-platform-and-net?forum = wfp
http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/a65bf197-937b-401e-b15f-0e1c3decdb14/windows-filtering-platform-and-net?forum=wfp
提前感谢任何帮助。我曾希望这很容易,但看起来并不是这样。
Thanks in advance for any help at all. I had hoped that this would be easy, but it doesn't look this way.
推荐答案
希望这有帮助,
这篇关于使用WFP和C#简单过滤http流量 - 是否可能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!