2
Answers

Windows Eventlog on a remote computer

Ask a question
I want to access the eventlog on a remote computer in WinForms using C#. I am using the Server Explorer at design time to connect to a remote computer and able to access the eventlog of the computer. I want to do the same programmatically. i.e., I should be able to connect to remote computer programmatically by supplying user credentials at run time and then I have to access the event log from that computer. Is there any possibility to do that in C#. Please help me in this regard. Its very urgent for me. Thanks, Suresh

Answers (2)