EventLog(事件日志)的读写方法
摘要:
在C#中读写EventLog(事件日志)挺简单的,代码量也比较小。1.加入System.Diagnostics Name Space;usingSystem.Diagnostics;2.声明一个EventLog类的实例。EventLogeventLog;eventLog=newEventLog("TestEvent",".","mySource");"TestEvent"是建立一个新的EventL... 阅读全文
posted @ 2006-07-14 11:13 NETWorker 阅读(1856) 评论(2) 推荐(0) 编辑