Bill Baird [mailto:[EMAIL PROTECTED]] wrote:
> How can I determine if a given piece of code is running in
> the default AppDomain. I searched the archives, but came up empty.
Hmmm... I thought of this, but it feels so hacky:
// Get the entry point Assembly
Assembly entryPointAssembly = Assemb
Is it as simple as
(Thread.GetDomainID() == 1) ?
Is this guaranteed to be true on the default AppDomain?
Thanks,
Bill
> -Original Message-
> From: Bill Baird
> Sent: Friday, May 10, 2002 2:25 PM
> To: [EMAIL PROTECTED] (E-mail)
> Subject: Detecting default AppDomain