Re: Finding out how the machine last rebooted and when.
- From: "Thomas T. Veldhouse" <veldy71@xxxxxxxxx>
- Date: Wed, 20 Sep 2006 18:21:59 GMT
Torcaza <cgrappa@xxxxxxxxx> wrote:
You should write some code to check the operating system event log.
On windows 2003 each time you reboot your computer a new entry is added
to the system log with event id 1074, but on XP you may have to enable
this service since it usually comes disabled.
You can find info on how to enable de Shutdown event tracker here...
http://support.microsoft.com/default.aspx?scid=kb;en-us;293814
That would cover a graceful shutdown
System.Diagnostics.EventLog.
--
Thomas T. Veldhouse
Key Fingerprint: 2DB9 813F F510 82C2 E1AE 34D0 D69D 1EDC D5EC AED1
.
- References:
- Prev by Date: Re: I think I find it !
- Next by Date: Re: Error is Object doesn't support this property or method
- Previous by thread: Re: Finding out how the machine last rebooted and when.
- Next by thread: Re: Create new Form of the same Type as an existing Instance
- Index(es):
Relevant Pages
|