Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
~107 People Reached
Favorite Forums
I am trying to write some test code to simulated a blue screen application event log entry. I have the generic function [CODE] private void AddEventLogEntry(string source, string errorText, int eventId, short category) { string log = "Application"; if (!EventLog.SourceExists(source)) EventLog.CreateEventSource(source, log); EventLog.WriteEntry(source, errorText, EventLogEntryType.Information, eventId, category); } [/CODE] This … |