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
>
> How can I determine if a given piece of code is running in the default
> AppDomain.  I searched the archives, but came up empty.
>
> Thanks,
>
> Bill Baird  ([EMAIL PROTECTED])
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to