i tried the code for WMI eventlog given in Article on c# corner but i got the following error during
connecting to remote pc
"
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in system.management.dll
Additional information: The RPC server is unavailable.
"
Can somebody suggest what has gone wrong .