Method GetCurrentThreadId NamespaceMicrosoft.Samples.Debugging.Native AssemblyNativeDebugWrappers.dll GetCurrentThreadId() public static extern int GetCurrentThreadId() Returns int