用于将.evt文件转换为.txt,.csv的C#代码,反之亦然? [英] C# code for converting .evt file in to .txt , .csv and vice versa ?

查看:340
本文介绍了用于将.evt文件转换为.txt,.csv的C#代码,反之亦然?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我想使用c#代码将我的.evt(事件查看器)文件转换为.txt和.csv。

请帮助

TIA



我的尝试:



我有在Google上搜索但没有找到任何内容。

Hi all
I want to convert my .evt(event Viewer) file into .txt and .csv using c# code.
Please help
TIA

What I have tried:

I have searched on Google But did not find anything.

推荐答案

您应该掌握自己的Google技能。搜索c#evt文件阅读器提供了大量结果,包括CodeProject文章解析事件日志( * .evt)文件 [ ^ ]。大多数将生成基于列表控件的GUI输出。但修改它来创建一个文本文件应该没问题。



如果你没有找到符合你要求的任何东西,你仍然可以编写自己的转换器。然后看看 Windows事件查看器日志( EVT)格式 [ ^ ]描述了EVT文件格式。
You should work on your Google skills. Searching for "c# evt file reader" provides lot of results including the CodeProject article Parsing event log(*.evt) file[^]. Most will generate a list control based GUI output. But modifying that to create a textual file instead should be no problem.

If you did not find anything that matches your requirements, you can still write your own converter. Then have a look at the Windows Event Viewer Log (EVT) format[^] which describes the EVT file format.


这篇关于用于将.evt文件转换为.txt,.csv的C#代码,反之亦然?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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