Returns the current domain in which the current thread is running.
Syntax
Returns
An AppDomain representing the current application domain of the running thread.
Remarks
Requirements
Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0