NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Logging Application, Server, and Security Events

Windows event logs allow your applications and components to record information about important events that occur. You can use these records to audit the access to your system, troubleshoot problems, and recreate usage patterns.

Using the EventLog component, you can easily connect to Windows event logs on both local and remote computers and write entries to these logs. You can also read entries from existing logs and create your own custom event logs on computers that have Windows 2000 or Windows NT installed.

For information about See
Event log features Introduction to the EventLog Component
The language elements used in EventLog component programming EventLog Programming Architecture
Deleting event logs and performing administrative tasks on event logs Administering Event Logs
Creating and configuring EventLog components Creating EventLog Components 
Configuring your component to write entries to event logs Writing Entries to Event Logs 
Reading event log entries Reading Event Log Entries 
The effects of event log interactions on application security Security Ramifications of Event Logs