Binarysharp.MemoryManagement.Native.ManagedTeb.FindTeb C# (CSharp) Method

FindTeb() public static method

Finds the Thread Environment Block address of a specified thread.
public static FindTeb ( SafeMemoryHandle threadHandle ) : IntPtr
threadHandle SafeMemoryHandle A handle of the thread.
return System.IntPtr
        public static IntPtr FindTeb(SafeMemoryHandle threadHandle)
        {
            return ThreadCore.NtQueryInformationThread(threadHandle).TebBaseAdress;
        }