Using C#/C++, is it possible to limit network traffic?

前端 未结 3 1242
天命终不由人
天命终不由人 2020-12-10 18:02

I\'m developing a parental monitoring/tracking application that has a feature to lock down all internet activity. While disabling the network adapter would seem like a simp

3条回答
  •  既然无缘
    2020-12-10 18:54

    You need to inject a custom layer into the IP stack, using Windows Filtering Platform. This SDK targets specifically parental control programs and such. Needless to say, as any kernel module, it has to be developed in C and you must have expert knowledge of Windows internals:

    The Windows Filtering Platform API is designed for use by programmers using C/C++ development software. Programmers should be familiar with networking concepts and design of systems using user-mode and kernel-mode components.

提交回复
热议问题