private static int GetCurrentProcessId() { return unchecked((int)Interop.Kernel32.GetCurrentProcessId()); }