监控USB流量

发布于 2024-08-10 19:05:30 字数 93 浏览 1 评论 0原文

我想查看从 USB 发出的所有流量,并有可能根据内容策略阻止进出 USB 的数据交易。这将如何完成?有什么方法可以在 C# 中实现此目的,或者它更像是 C++ 类型的问题?

I want to view all traffic going out the USB, with the potential to block data transactions to/from the USB based on content policy. How would this be done? Any way to achieve this in C#, or is it more of a C++ type of problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

情感失落者 2024-08-17 19:05:30

您可以使用 CreateFile() 和DeviceIoControl() 来处理这个问题,但它是并不像听起来那么容易。您是否想要监控来自每个可能插入的设备的所有流量?

You can use things like CreateFile() and DeviceIoControl() to handle this, but it's not going to be as easy as it sounds. Are you wanting to monitor all traffic from every possible device that could be plugged in?

一绘本一梦想 2024-08-17 19:05:30

我不知道这是否有帮助,但是 #usblib 项目已经存在很多年了。

http://www.icsharpcode.net/OpenSource/SharpUSBLib/default.aspx

i don't know if this helps, but the #usblib project has been around for many years.

http://www.icsharpcode.net/OpenSource/SharpUSBLib/default.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文