How to get the default domain of a process

  • Thread starter Thread starter Ravichandra
  • Start date Start date
R

Ravichandra

Hi,

How do I get the default domaing of a process whose
apartment state is ApartmentState.STA?

TIA,
Ravichandra
 
Hi,

You can get the appdomain of the thread by using
Thread.GetDomain method.

Regards,
Madhu

MVP | MCSD.NET
 
is there any difference between current domain and default
domain for a thread of Apartmentstate.STA?
 
Back
Top