How To Find Whether The Application Is Run From Inside Ide Or Not?

user image

Muskan Anand

2 years ago

Use System.Diagnostics.Debugger.IsAttached property.If it is true that means a debugger is attached to the application else not Useful: While creating applications we can check this property and skip the login page/form and directly launch the page/form we are debugging.

Recent Doubts

Close [x]