6
Posted on 5:00 AM by Softminer and filed under

using (System.Diagnostics.EventLog eventLog = new System.Diagnostics.EventLog("Application"))
{
eventLog.Source = "Application";
eventLog.WriteEntry("Before Call", System.Diagnostics.EventLogEntryType.Information, 101, 1);
}