Returns the current native system thread ID.
EasyHook (in EasyHook.dll) Version: 2.7.6684.0 (2.7.6684.0)
public static int GetCurrentThreadId()
Public Shared Function GetCurrentThreadId As Integer
static int GetCurrentThreadId()
static member GetCurrentThreadId : unit -> int
The native system thread ID.
Even if currently each dedicated managed
thread (not a thread from a ThreadPool
) exactly maps to one native
system thread, this behavior may change in future versions.
If you would like to have unintercepted threads, you should make sure that they are
dedicated ones, e.g. derived from Thread