RemoteHookingGetCurrentThreadId Method |
Returns the current native system thread ID.
Namespace:
EasyHook
Assembly:
EasyHook (in EasyHook.dll) Version: 2.7.6684.0 (2.7.6684.0)
Syntax public static int GetCurrentThreadId()
Public Shared Function GetCurrentThreadId As Integer
public:
static int GetCurrentThreadId()
static member GetCurrentThreadId : unit -> int
Return Value
Type:
Int32The 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