The MiscInfoStream in a minidump file contains the process create time. I'd like to find out how long the process has been running for before the crash. Does a minidump file contain the exception timestamp anywhere?
WinDbg on this dump file displays the following, which implies that it's in there somewhere...
Debug session time: Tue Dec 29 15:49:20.000 2009 (GMT+0)
System Uptime: not available
Process Uptime: 0 days 0:33:03.000
(DumpChk displays the same information, at the end of the list of streams)
Note that today's Mar 15, so this is almost certainly the timestamp of the crash. I'd like a programmatic way to retrieve that value and the "Process Uptime" value.
I found the MINIDUMP_MISC_INFO_3
structure, which contains some timezone information, but it doesn't seem to contain the exception time.
Some dump files appear to have a ThreadInfoListStream, which contains the timestamps for each thread in the process, but this isn't included in the minidumps that I've seen.