Read event log in C#

后端 未结 5 2234
北海茫月
北海茫月 2020-12-14 17:25

I\'m trying to read event logs for my application EventLoggingApp. The problem is reading logs for my single source (EventLoggingApp).

This code re

5条回答
  •  借酒劲吻你
    2020-12-14 17:52

    If you connect to localhost set MachineName to "." Check if user has right to read from eventlog

提交回复
热议问题