How do you change the source name when writing to the event viewer in C# language?
Currently have this
string cs = "Application";
if (!EventLog.SourceExists(cs)) EventLog.CreateEventSource(cs, "ReceiveDaily"); EventLog.WriteEntry(cs, message.Message, EventLogEntryType.Error);
If I change CS to anything else, I see a Security-Kerberos (0x7) popping up at my event viewer It writes the error in the errorlog when I put "Application" though. But then the source is "Application", which isn't a very good description from where it comes ...
Thanks in advance.