Table of Contents

Method GetTimestamp

Namespace
Microsoft.Samples.Debugging.Native
Assembly
NativeDebugWrappers.dll

GetTimestamp(string)

Gets the raw compilation timestamp of a file. This can be matched with the timestamp of a module in a dump file. NOTE: This is NOT the same as the file's creation or last-write time.

public static uint GetTimestamp(string file)

Parameters

file string

Returns

uint

0 for common failures like file not found or invalid format. Throws on gross errors. Else returns the module's timestamp for comparison against the minidump module's stamp.