Debugger.IsAttached Property
.NET Framework 1.1
Gets a value that indicates whether a debugger is attached to the process.
[Visual Basic] Public Shared ReadOnly Property IsAttached As Boolean [C#] public static bool IsAttached {get;} [C++] public: __property static bool get_IsAttached(); [JScript] public static function get IsAttached() : Boolean;
Property Value
true if a debugger is attached; otherwise, false.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
See Also
Debugger Class | Debugger Members | System.Diagnostics Namespace