You are developing an application by using C#. The application will write events to an event log. You plan to deploy the application to a server.
You create an event source named MySource and a custom log named MyLog on the server.
You need to write events to the custom log.
Which code segment should you use?
afitz
Highly Voted 4 years, 11 months agoCodenoob
Highly Voted 4 years, 9 months agoDaGrooveNL
Most Recent 4 years, 3 months agolh2607
4 years, 10 months agoWTH
5 years agoMilev
5 years, 1 month ago