44 [StructLayout(
LayoutKind.Sequential, Pack = 4)]
83 return Write(fileStream.SafeFileHandle,
options, exceptionInfo);
94 uint
id = (uint)currentProcess.
Id;
97 expParam.ClientPointers =
false;
117 [DllImport(
"kernel32.dll", ExactSpelling =
true)]
static Process GetCurrentProcess()
static CultureInfo InvariantCulture
static FileStream Create(string path)
static string Combine(string path1, string path2)
static IntPtr GetExceptionPointers()
static Thread CurrentThread
static string versionNumber
static bool Write(SafeHandle fileHandle, Options options, ExceptionInfo exceptionInfo)
@ WithPrivateWriteCopyMemory
@ IgnoreInaccessibleMemory
@ WithPrivateReadWriteMemory
@ WithIndirectlyReferencedMemory
static string CreateDumpName()
static uint GetCurrentThreadId()
static bool WriteException(Options options, string outputDirectory=".")
static bool MiniDumpWriteDump(IntPtr hProcess, uint processId, SafeHandle hFile, uint dumpType, IntPtr expParam, IntPtr userStreamParam, IntPtr callbackParam)
static bool Write(Options options, string outputDirectory=".")
static bool Write(Options options, ExceptionInfo exceptionInfo, string outputDirectory)
static bool MiniDumpWriteDump(IntPtr hProcess, uint processId, SafeHandle hFile, uint dumpType, ref MiniDumpExceptionInformation expParam, IntPtr userStreamParam, IntPtr callbackParam)
static bool TryCreatingDirectory(string folderPath)
override string ToString()
static readonly IntPtr Zero