I would like to write to the default Application event log without creating an event log source automatically or through EventLog.CreateEventSource. The program may be run as a non-administrator, who will have no way to create an event log source. This application has no installation program. Is there something that I can specify for the source that will "always work" in this case?
For reference, the error message was:
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. To create the source, you need permission to read all event logs to make sure that the new source name is unique. Inaccessible logs: Security.