post Category: 荡寇志 post postDecember 18, 2009

using System.Diagnostics;
        private static void writeEvnetlog(string sEvent) {
            string sourceName = “evevnt_category”;
            if(!EventLog.SourceExists(sourceName)){
                EventLog.CreateEventSource(sourceName,”");
            }
            EventLog.WriteEntry(sourceName, sEvent);

        }

Sorry, no comments yet.

Write Your Comment

Comment Guidelines: Basic XHTML is allowed (a href, strong, em, code). All line breaks and paragraphs will be generated automatically.

You should have a name, right? 
Your email address, I promised I won't tell it to anyone. 
If you have a web site or blog, you can type the URL right here. 
This is where you type your comments. 
Remember my information for the next time I visit.