如何在.NET中使用ETW [英] HowTo Consume ETW in .NET

查看:150
本文介绍了如何在.NET中使用ETW的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试实现ETapi32.dll中的ETW-StartTrace,OpenTrace,ProcessTrace API,以便跟踪特定进程的网络活动(以及磁盘活动),就像TCPview或Process Explorer那样监视磁盘和网络流量

有没有人有使用p/invoke或本机.NET代码执行此操作的示例?到目前为止,我发现的所有代码都是C ++,这超出了我的理解,我需要C#或Vb.net

任何资源都将是一个很好的起点.

I''m trying to implement the ETW - StartTrace, OpenTrace, ProcessTrace APIs from Advapi32.dll in order to trace network activity (and also disk activity) for a specific process, pretty much like TCPview does or Process Explorer does to monitor disk and network traffic

Does anyone has an example on how to do this using p/invoke or native .NET code? all the code i had found so far is in C++ which is beyond my knowledge, i need something in C# or Vb.net

Any resources would be great as a starting point.

推荐答案

我在Microsoft网站看看是否有帮助.


这篇关于如何在.NET中使用ETW的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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