Microsoft Developer Network > 포럼 홈 > Windows Events > Reading Entries from EventLog in vista
질문하기질문하기
 

답변됨Reading Entries from EventLog in vista

  • 2009년 7월 2일 목요일 오후 2:24Cheryl Joseph 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    Hi,

    I want to be able to read the entries in one of the entries in the Microsoft-Windows-GroupPolicy/Operational under Applications and Services log in C#. When I use

    System.Diagnostics.EventLog.Exists("Microsoft-Windows-GroupPolicy/Operational"), to see if the log event exists, it returns false. I've found that to be true for all logs that are nested in sub folders. Is there another way to do this?

    Thanks in advance,
    Cheryl

    • 이동됨Jon LangdonMSFT2009년 7월 28일 화요일 오전 3:56 (From:Building Development and Diagnostic Tools for .Net)
    •  

답변

모든 응답