如何解析Visual Studio 2012中的cap文件 - c#? [英] How to parse a cap file in Visual Studio 2012 - c#?

查看:190
本文介绍了如何解析Visual Studio 2012中的cap文件 - c#?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用Visual Studio 2012并尝试使用c#代码解析Nework Monitor捕获文件(上限)


<我将NetmonAPI类添加到我的项目中,但是我仍然找不到将该cap文件解析为文本文件/ csv / excel文件所需的函数?


你能帮忙吗?我解决了这个问题?


问候,


Nadeem


Nadeem

解决方案

我在另一个帖子中提到过,您可以查看示例 "迭代具有显示格式的字段"。在帮助文件中,它还记录了一个方法,您可以使用扩展来将捕获文件解析为文本或者您想要的方式。


希望有所帮助,



Hi,

I'm using Visual Studio 2012 and trying to parse a Nework Monitor capture file (cap) using c# code

I added the NetmonAPI class to my project, but I still can't find the required function which parses this cap file into text file/csv/excel file?

Can you please help me solve this issue?

Regards,

Nadeem

Nadeem

解决方案

I mentioned in the other thread that you can look at the example  "Iterating Fields with Display Format" in the help file which also documents a method you can use extend to parse the capture file to text or how ever you want.

Hope that helps,

Paul


这篇关于如何解析Visual Studio 2012中的cap文件 - c#?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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