Rick,
You can create an instance of the EventLog class, and attach it to the
appropriate event log. Then, you would sign up for the EntryWritten event
on the EventLog instance, which is fired when a new entry is written to the
event log on the local computer.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
(E-Mail Removed)
"Rick" <(E-Mail Removed)> wrote in message
news:%23fVfjrB%(E-Mail Removed)...
> Assuming proper authentication, does the framework offer a way to capture
> Windows Server 2003 system security events, as found in the event viewer
> log
> files?
>
> I'd like to be able to write some code to trap certain events and react to
> them.
>
> Thanks,
> Rick
>
>
>