Finding system downtime

From: Sunny K (sunstarwu_at_yahoo.com)
Date: 09/29/04


Date: 29 Sep 2004 02:37:59 -0700

Hi,

I have written a program using WMI and C#. The WMI is reading the
selected systems 'Uptime' and I have used C# to search through the
Systems Event Log to look for certain event IDs that show Reboots and
blue screens to see how many of these have occured. The results from
my program are placed into a SQL database on a daily basis.

I now need to find the system downtime in between the reboots and blue
screens that may occur (This is also needed so i can calculate System
Availability). Does anyone know how i can get this information without
it getting to confusing?

Anyway suggestions will be very useful

Thanks
Sunny:)