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 @
on how wmi c#
Comments
Post a Comment