Kernel32IsDebuggerPresent Method

Determines whether the calling process is being debugged by a user-mode debugger.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", ExactSpelling = true)]
public static bool IsDebuggerPresent()

Return Value

Boolean
If the current process is running in the context of a debugger, the return value is .

If the current process is not running in the context of a debugger, the return value is .

Remarks

See Also