1.

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

Answer»

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.

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.



Discussion

No Comment Found