Click here to Skip to main content
15,892,746 members
Articles / Programming Languages / C# 4.0

How To Create a Windows Event Log and Write your Custom Message as well

Rate me:
Please Sign up or sign in to vote.
4.92/5 (40 votes)
22 Aug 2009CPOL2 min read 200.2K   4.4K   79  
A simple class to create a Windows event log and write your custom message as well
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
  <Profiles>
    <Profile Name="(Default)" />
  </Profiles>
  <Settings />
</SettingsFile>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions