src/AntiDebugging/AntiDebugging/AntiDebug.cs
/// <summary>
/// Hide the thread from debug events.
/// </summary>
Hide the thread from debug events.
Hide the thread from debug events .
public static bool HideThreadFromDebugger(IntPtr handle)
        {
            var nStatus = NtSetInformationThread(handle, ThreadInformationClass.ThreadHideFromDebugger, IntPtr.Zero, 0);
            return nStatus == NtStatus.Success;
        }
public static bool HideThreadFromDebugger ( IntPtr handle ) { var nStatus = NtSetInformationThread ( handle , ThreadInformationClass . ThreadHideFromDebugger , IntPtr . Zero , 0 ) ; return nStatus == NtStatus . Success ; }
Hide the thread from debug events.
Hide the thread from debug events .
handle
IntPtr