Obsolete createEvenSource

Posted by user311130 on Stack Overflow See other posts from Stack Overflow or by user311130
Published on 2010-05-27T22:09:55Z Indexed on 2010/05/27 22:11 UTC
Read the original article Hit count: 147

Filed under:

Hello,

  1. I want to create a new customevent log ( "My EeventLog") on a remote machine.

createEventSource(String,String,String) method was perferct for my need.

Unfortenatly, this method is Obsolete.

My questions is: the two other alternatives don't allow evenlog creation over a remote machine (correct me if I'm wrong).

http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog.createeventsource.aspx

So, my easiest way to do it- is be created a new exe and run it remotely with Psexe. right?

  1. Could I count eventlog entries that have some specific ID ?

Regards,

© Stack Overflow or respective owner

Related posts about c#