Kernel32IsDebuggerPresent Method
Determines whether the calling process is being debugged by a user-mode debugger.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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()
<DllImportAttribute("Kernel32.dll", ExactSpelling := true>]
Public Shared Function IsDebuggerPresent As Boolean
Dim returnValue As Boolean
returnValue = Kernel32.IsDebuggerPresent()
public:
[DllImportAttribute(L"Kernel32.dll", ExactSpelling = true)]
static bool IsDebuggerPresent()
[<DllImportAttribute("Kernel32.dll", ExactSpelling = true)>]
static member IsDebuggerPresent : unit -> bool
No code example is currently available or this language may not be supported.
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
.