using System.Runtime.InteropServices;
namespace BinaryObjectScanner.Models.PortableExecutable
{
///
/// PDB 2.0 files
///
///
[StructLayout(LayoutKind.Sequential)]
public sealed class NB10ProgramDatabase
{
///
/// "CodeView signature, equal to “NB10”
///
public uint Signature;
///
/// CodeView offset. Set to 0, because debug information
/// is stored in a separate file.
///
public uint Offset;
///
/// The time when debug information was created (in seconds
/// since 01.01.1970)
///
public uint Timestamp;
///
/// Ever-incrementing value, which is initially set to 1 and
/// incremented every time when a part of the PDB file is updated
/// without rewriting the whole file.
///
public uint Age;
///
/// Null-terminated name of the PDB file. It can also contain full
/// or partial path to the file.
///
public string PdbFileName;
}
}