Click or drag to resize

RemoteHookingGetCurrentThreadId Method

Returns the current native system thread ID.

Namespace:  EasyHook
Assembly:  EasyHook (in EasyHook.dll) Version: 2.7.6270.0 (2.7.6270.0)
Syntax
public static int GetCurrentThreadId()

Return Value

Type: Int32
The native system thread ID.
Remarks
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.
See Also