Microsoft Developer Network > Página Inicial dos Fóruns > Windows Events > Reading Entries from EventLog in vista
Fazer uma PerguntaFazer uma Pergunta
 

RespondidoReading Entries from EventLog in vista

  • quinta-feira, 2 de julho de 2009 14:24Cheryl Joseph Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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

    • MovidoJon LangdonMSFTterça-feira, 28 de julho de 2009 3:56 (From:Building Development and Diagnostic Tools for .Net)
    •  

Respostas

Todas as Respostas