Hi every experts,
I am writing a C# application for writting event log.
I want to write event log from client machine to server machine.
And I want to view the log in windows event viewer on server machine.
In my program, I create a EventLog and EventInstance object first, and use WriteEvent to write event.
But i find a question on event viewer. It show "N/A" in user field in event properties. How can I put the user name in it, instead of "N/A"
Urgent, Thx a lot.