what's the fast and new way(based on high performance) of reading event logs from remote machine using c# -


i know question has 100's of similar questions. have gone through of them , outdated , doesn't seem perform well.

i trying read event logs remote computers using c#, way during slow (reading 60,000 logs) takes 30 mins.

i using

 eventlogreader class 

i have tried event log query , wmi way. speaking slow.

there other way of doing this. how can read them faster?

i don't know if faster, worth shot

my suggestion skip eventlogreader class , go straight wmi ( may able query want.

also, can remote machine backup event log try copying backup...

see

http://msdn.microsoft.com/en-us/library/windows/desktop/aa394593(v=vs.85).aspx

you may want @

how construct wmi query

on how wmi c#


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -