Desktop Functions: Smart Device Functions:
|
Search Results for "IsDebuggerPresent" in [All]kernel32
static extern bool CheckRemoteDebuggerPresent(SafeHandle hProcess, [MarshalAs(UnmanagedType.Bool)]ref bool isDebuggerPresent); Checks for RemoteDebugger on the 'hProcess'. The "remote" in CheckRemoteDebuggerPresent does not imply that the debugger necessarily resides on a different computer; instead, it indicates that the debugger resides in a separate and parallel process. Use the IsDebuggerPresent function to detect whether the calling process is running under the debugger.
Private Declare Function IsDebuggerPresent Lib "kernel32" () As Integer
static extern bool IsDebuggerPresent(); Private Declare Function IsDebuggerPresent Lib "kernel32" () As Integer
If IsDebuggerPresent = 1 Then
if (IsDebuggerPresent() == true) { |